wok view e2fsprogs/receipt @ rev 14657

Normalize LICENSE according to wok/licenses package (bsd part)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 05 16:21:04 2013 +0200 (2013-06-05)
parents 64e7fff3f73c
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.42.5"
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 HOST_ARCH="i486 arm"
13 DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir ../build && cd ../build
20 $src/configure \
21 --prefix=/usr \
22 --with-root-prefix="" \
23 --enable-elf-shlibs \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS
26 make && make install &&
27 make install-libs
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/sbin $fs
35 cp -a $install/lib $fs
36 cp -a $install/etc $fs
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib/*.so $fs/usr/lib
40 cat $stuff/*.files-list | while read file; do
41 rm -f ${fs}$file
42 done
43 # Remove fsck provided by Busybox.
44 rm $fs/sbin/fsck* $fs/sbin/blkid
45 # Remove blkid provided by util-linux.
46 rm $fs/lib/libblkid* $fs/usr/lib/libblkid*
47 # Remove uuid files provided by util-linux.
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 $root/sbin/findfs
56 rm -f $root/sbin/tune2fs
57 }
59 post_remove()
60 {
61 ln -s /bin/busybox $root/sbin/findfs
62 ln -s /bin/busybox $root/sbin/tune2fs
63 }