#Packager: Shador pkgname=autogen pkgver=5.11.1 pkgrel=1ab #arch=x86_64 source=("http://ftp.gnu.org/gnu/autogen/autogen-5.11.1.tar.bz2") sourcetemplate="http://gaia.homelinux.org/salix/packages-x86_64/$pkgname/$pkgver/" docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.gnu.org/software/autogen/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (an automated text file generator)" "AutoGen is a tool designed to simplify the creation and maintenance of" "programs that contain large amounts of repetitious text. It is" "especially valuable in programs that have several blocks of text that" "must be kept synchronized." "" "AutoGen will accept either its own definition format, or XML files as" "definition input, in addition to CGI data (for producing dynamic HTML)" "and traditional AutoGen definitions." ) build() { set -e JOBS=" -j$(($(getconf _NPROCESSORS_ONLN)*2)) " NUMJOBS="${NUMJOBS:-"${JOBS}"}" cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux || return 1 make $NUMJOBS || return 1 make install DESTDIR=$startdir/pkg || return 1 set +e }