# Packager: Phill Watkins pkgname=partimage pkgver=0.6.9 pkgrel=1pw #arch=noarch source=\ ( "http://downloads.sourceforge.net/project/partimage/stable/$pkgver/partimage-$pkgver.tar.bz2" "http://people.salixos.org/pwatk/packages/ap/$pkgname/$pkgver/rc.partimaged.gz" "http://people.salixos.org/pwatk/packages/ap/$pkgname/$pkgver/partimaged.txt.gz" "http://people.salixos.org/pwatk/packages/ap/$pkgname/$pkgver/README.Slackware.gz" ) sourcetemplate=http://people.salixos.org/pwatk/packages/ap/$pkgname/$pkgver docs=("ABOUT-NLS" "FORMAT" "INSTALL" "THANKS") url=http://www.partimage.org/ dotnew=('etc/partimaged/partimagedusers') options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "partimage (Filesystem backup utilities)" "Partimage is an opensource disk backup software. It saves partitions" "having a supported filesystem on a sector basis to an image file." "The image file can be compressed to save disk space and transfer time" "and can be split into multiple files to be copied to CDs or DVDs." "Partitions can be saved across the network using the partimage network" "support, or using Samba / NFS (Network File Systems). This provides" "the ability to perform a hard disk partition recovery after a disk" "crash. Please refer to '/usr/doc/$pkgname-$pkgver/README.Slackware'" "for help." ) 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 make -j $numjobs make install DESTDIR=$startdir/pkg install -d $startdir/pkg/var/spool/partimaged install -Dm 0644 $startdir/src/rc.partimaged $startdir/pkg/etc/rc.d/rc.partimaged install -Dm 0644 $startdir/src/partimaged.txt $startdir/pkg/etc/rc.d/desc.d/partimaged.txt install -Dm 0644 $startdir/src/README.Slackware $startdir/pkg/usr/doc/$pkgname-$pkgver/README.Slackware set +e }