# vim: set syn=sh: # Packager: Phill Watkins pkgname=ddrescue pkgver=1.14 pkgrel=1pw #arch=noarch source=("http://ftp.gnu.org/gnu/ddrescue/ddrescue-$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/pwatk/packages/orphan/$pkgname docs=("AUTHORS" "ChangeLog" "COPYING" "INSTALL" "NEWS" "README") url=www.gnu.org/software/ddrescue/ddrescue.html slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "ddrescue (Data recovery tool)" "GNU ddrescue is a data recovery tool. It copies data from one file or" "block device (hard disc, cdrom, etc) to another, trying hard to rescue" "data in case of read errors." ) build() { set -e cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux \ CXXFLAGS="-Wall -W $CXXFLAGS" make -j $numjobs make install DESTDIR=$startdir/pkg set +e }