wok view e2fsprogs/receipt @ rev 2153
Up: wireshark (1.0.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 05 21:07:52 2009 +0100 (2009-02-05) |
parents | 739a2a9402c1 |
children | eb5dee8d103f |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.39"
5 CATEGORY="base-system"
6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="libcomerr"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --with-root-prefix="" \
20 --enable-elf-shlibs \
21 --disable-evms \
22 --sysconfdir=/etc \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS
26 make
27 make DESTDIR=$PWD/_pkg install
28 make DESTDIR=$PWD/_pkg install-libs
29 cp ../stuff/*.files-list .
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share/locale
36 cp -a $_pkg/sbin $fs
37 cp -a $_pkg/lib $fs
38 cp -a $_pkg/etc $fs
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/sbin $fs/usr
41 cp -ad $_pkg/usr/lib/*.so $fs/usr/lib
42 cat $src/*.files-list | while read file; do
43 rm -f $fs$file
44 done
46 # Remove fsck provided by Busybox.
47 rm -rf $fs/sbin/fsck*
49 # Locale fr.
50 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
52 # Package all mysql pkgs
53 for i in $(cd $WOK; ls -d e2fsprogs-* libcomerr*)
54 do
55 tazwok genpkg $i
56 done
57 }