#!/bin/bash # # Maintainer: Deposite Pirate source /usr/src/ports/Build/build.sh NAME=autotools VERSION=2.69 BUILD=7 DEPENDS=('perl_xmlparser >= 2.41-1' 'm4 >= 1.4.16-1') # Description cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null fi done } # Install texinfo files install_info autoconf automake automake-history libtool EOF # Sources configure() { CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ ./configure \ --build="${ARCH}-slackware-linux" \ --prefix="${SYS_DIR[usr]}" \ --mandir="${SYS_DIR[man]}" \ --infodir="${SYS_DIR[info]}" \ --sysconfdir="${SYS_DIR[etc]}" \ --libdir="${SYS_DIR[lib]}" \ --localstatedir="${SYS_DIR[var]}" \ ${*} } SRCNAME[0]=autoconf SRCVERS[0]=2.69 SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz SRCCOPY[0]="GPL2 GPL3" build0() { configure make ${JOBS} make install DESTDIR="${PKG}" doc AUTHORS THANKS changelog NEWS license COPYING.EXCEPTION COPYING.EXCEPTION # This is already in a few other packages rm -f ${PKG}${SYS_DIR[info]}/standards.info* } SRCNAME[1]=automake SRCVERS[1]=1.14.1 SRCPACK[1]=${URL[gnu]}/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz SRCCOPY[1]="GPL2" build1() { configure make ${JOBS} make install DESTDIR="${PKG}" doc AUTHORS THANKS changelog NEWS } SRCNAME[2]=libtool SRCVERS[2]=2.4.2 SRCPACK[2]=${URL[gnu]}/${SRCNAME[2]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.xz SRCCOPY[2]="GPL2" build2() { configure \ --disable-dependency-tracking \ --enable-shared=yes \ --enable-static=no \ --enable-ltdl-install make ${JOBS} make install DESTDIR="${PKG}" doc AUTHORS THANKS changelog NEWS rm -rf ${PKG}${SYS_DIR[doc]}/libtool } SRCNAME[3]=intltool INTLTOOLM=0.50 SRCVERS[3]=${INTLTOOLM}.2 SRCPACK[3]=http://edge.launchpad.net/intltool/trunk/${SRCVERS[3]}/+download/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz SRCCOPY[3]="GPL2" build3() { configure make ${JOBS} make install DESTDIR="${PKG}" doc AUTHORS changelog ChangeLog }