#Packager: Shador pkgname=dvdauthor pkgver=0.6.18 pkgrel=2ab #arch=x86_64 source=("http://downloads.sourceforge.net/project/dvdauthor/dvdauthor/0.6.18/dvdauthor-0.6.18.tar.gz" "http://gaia.homelinux.org/salix/packages-x86_64/$pkgname/$pkgver/png14.patch") sourcetemplate="http://gaia.homelinux.org/salix/packages-x86_64/$pkgname/$pkgver/" docs=("readme" "install" "copying" "changelog" "authors" "todo") url='http://dvdauthor.sourceforge.net/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (a simple set of tools to help you author a DVD)" "A set of low-level tools to help you author a DVD. Start with a" "suitably-formatted MPEG stream (as created by various tools, such as" "FFmpeg or mjpegtools), and graphic images for your menus, and you can" "define buttons, chapters etc and turn the whole lot into a" "DVD-Video disc. " ) build() { set -e JOBS="-j$(($(getconf _NPROCESSORS_ONLN)*2))" NUMJOBS="${NUMJOBS:-"${JOBS}"}" cd $startdir/src/$pkgname patch -p1 -i $startdir/src/png14.patch ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --build=$arch-slackware-linux || return 1 make $NUMJOBS || return 1 make install DESTDIR=$startdir/pkg || return 1 set +e }