wok diff e2fsprogs/receipt @ rev 5
Add : bc, cpio, e2fsprogs, module-init-tools, udev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 13 15:09:20 2007 +0100 (2007-12-13) |
parents | |
children | 6d220dd6655c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/e2fsprogs/receipt Thu Dec 13 15:09:20 2007 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="e2fsprogs" 1.7 +VERSION="1.39" 1.8 +CATEGORY="base-apps" 1.9 +SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://e2fsprogs.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./configure --prefix=/usr --with-root-prefix="" \ 1.20 + --enable-elf-shlibs --disable-evms --sysconfdir=/etc \ 1.21 + --infodir=/usr/share/info --mandir=/usr/share/man \ 1.22 + $CONFIGURE_ARGS 1.23 + make 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib $fs/usr/share/locale 1.31 + cp -a $_pkg/sbin $fs 1.32 + cp -a $_pkg/lib $fs 1.33 + cp -a $_pkg/etc $fs 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 + cp -a $_pkg/usr/sbin $fs/usr 1.36 + cp -ad $_pkg/usr/lib/*.so $fs/usr/lib 1.37 + # Remove unused libss and fsck provided by Busybox. 1.38 + rm -rf $fs/lib/libss* 1.39 + rm -rf $fs/usr/lib/libss* 1.40 + rm -rf $fs/sbin/fsck* 1.41 + # Locale fr. 1.42 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.43 + # Strip all stuff. 1.44 + strip -s $fs/sbin/* 1.45 + strip -s $fs/lib/* 1.46 + strip -s $fs/usr/bin/* 1.47 + strip -s $fs/usr/sbin/* 1.48 + strip -s $fs/usr/lib/* 1.49 +}