wok-6.x view e2fsprogs/receipt @ rev 18141
Up: slitaz-base-files (274), tzdata (2015e)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 16 22:18:56 2015 +0300 (2015-06-16) |
parents | 159df010240c |
children | 401224c936cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.42.12"
5 CATEGORY="base-system"
6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://e2fsprogs.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
15 BUILD_DEPENDS="texinfo"
17 # Handle cross compilation.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir ../build && cd ../build
26 $src/configure \
27 --prefix=/usr \
28 --with-root-prefix="" \
29 --enable-elf-shlibs \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS
32 make && make install &&
33 make install-libs
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/sbin $fs
41 cp -a $install/lib $fs
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $install/usr/lib/*.so $fs/usr/lib
46 cat $stuff/*.files-list | while read file; do
47 rm -f ${fs}$file
48 done
49 # Remove fsck provided by Busybox.
50 rm $fs/sbin/fsck* $fs/sbin/blkid
51 # Remove blkid provided by util-linux.
52 rm $fs/lib/libblkid* $fs/usr/lib/libblkid*
53 # Remove uuid files provided by util-linux.
54 rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen
55 rm $fs/lib/libuuid* $fs/usr/lib/libuuid*
56 }
58 # Overlap busybox
59 pre_install()
60 {
61 rm -f $root/sbin/findfs
62 rm -f $root/sbin/tune2fs
63 }
65 post_remove()
66 {
67 ln -s /bin/busybox $root/sbin/findfs
68 ln -s /bin/busybox $root/sbin/tune2fs
69 }