# vim: set syn=sh: # Packager: Phill Watkins # Former Packager(s): frédéric Galusik pkgname=progsreiserfs pkgver=0.3.0.5 pkgrel=2pw #arch=noarch source=("progsreiserfs-$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/pwatk/packages/13.2/l/$pkgname docs=("AUTHORS" "BUGS" "COPYING" "ChangeLog" "INSTALL" "NEWS" "README" "THANKS" "TODO") #url= options=('nosrcpack') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "progsreiserfs (ReiserFS filesystem manipulation library)" "This package contains a library that is still required by some" "projects for ReiserFS filesystem access e.g. GNU Parted." "" "Note: The utilities from this package are not included because they" "are known to be hazardous!" ) build() { set -e cd $startdir/src/$pkgname-$pkgver # fix automake bug sed '13s|AC_CHECK_LIBREISERFS|[AC_CHECK_LIBREISERFS]|' -i progsreiserfs.m4 ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --build=$arch-slackware-linux \ --disable-static \ --disable-debug make -j $numjobs make install DESTDIR=$startdir/pkg # remove defunct utilities and man pages rm -rf $startdir/pkg/usr/{sbin,man} set +e }