# vim: set syn=sh: # Packager: Phill Watkins pkgname=partclone pkgver=0.2.16 pkgrel=1pw #arch=noarch source=("http://downloads.sourceforge.net/project/partclone/unstable/$pkgver/partclone_$pkgver.tar.gz") #source=\ #( #"http://downloads.sourceforge.net/project/partclone/stable/$pkgver/partclone_$pkgver.tar.gz" #"ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/xfsprogs_2.10.2-1.tar.gz" #) sourcetemplate=http://people.salixos.org/pwatk/packages/testing/$pkgname docs=("ABOUT-NLS" "AUTHORS" "ChangeLog" "COPYING" "INSTALL" "NEWS" "README" "TODO") url=http://www.partimage.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "partclone (Filesystem backup utilities)" "Partclone is a project similar to the well-known backup utility" "\"Partition Image\" a.k.a partimage. Partclone provides utilities to" "back up and restore used-blocks of a partition and it is designed for" "higher compatibility of the file system by using existing libraries," "e.g. e2fslibs is used to read and write to ext2 partitions." ) build() { set -e cd $startdir/src/$pkgname-$pkgver sed '/_version=/s|-static||g' -i configure ./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 \ --enable-extfs \ --enable-xfs \ --enable-reiserfs \ --enable-hfsp \ --enable-fat \ --enable-ntfs \ --enable-ncursesw make -j $numjobs make install DESTDIR=$startdir/pkg set +e }