wok view e2fsprogs/receipt @ rev 9674

Fixed python-pyxml. The sed way had a error unmatch /. So i'm using the real patch from archlinux.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 03 04:53:22 2011 +0000 (2011-05-03)
parents bdcb3c29980e
children 7b7b3127147e
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.41.14"
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 util-linux-ng-blkid util-linux-ng-uuid"
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 --sysconfdir=/etc \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 make DESTDIR=$PWD/_pkg install-libs
28 cp ../stuff/*.files-list .
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share/locale
35 cp -a $_pkg/sbin $fs
36 cp -a $_pkg/lib $fs
37 cp -a $_pkg/etc $fs
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/sbin $fs/usr
40 cp -ad $_pkg/usr/lib/*.so $fs/usr/lib
41 cat $src/*.files-list | while read file; do
42 rm -f $fs$file
43 done
44 # Remove fsck provided by Busybox and blkid by util-linux-ng.
45 rm $fs/sbin/fsck* $fs/sbin/blkid
46 rm $fs/lib/libblkid* $fs/usr/lib/libblkid*
47 # Remove uuid files provided by util-linux-ng.
48 rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen
49 rm $fs/lib/libuuid* $fs/usr/lib/libuuid*
50 }
52 # Overlap busybox
53 pre_install()
54 {
55 rm -f $1/sbin/findfs
56 rm -f $1/sbin/tune2fs
57 }
59 post_remove()
60 {
61 ln -s /bin/busybox /sbin/findfs
62 ln -s /bin/busybox /sbin/tune2fs
63 }