wok-next view e2fsprogs/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 18c4d15a72df |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="e2fsprogs"
4 VERSION="1.43.4"
5 CATEGORY="base-system"
6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="util-linux-uuid-dev util-linux-blkid-dev gettext attr-dev \
16 acl-dev texinfo"
17 BUILD_DEPENDS_arm=" "
18 SPLIT="libcomerr libcomerr-dev e2fsprogs-dev e2fsprogs-fsck"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i -e 's:\[\.-\]::' tests/filter.sed
24 mkdir ../build && cd ../build
26 $src/configure \
27 --bindir=/bin \
28 --sysconfdir=/etc \
29 --with-root-prefix="" \
30 --enable-elf-shlibs \
31 --disable-libblkid \
32 --disable-libuuid \
33 --disable-uuidd \
34 --disable-fsck \
35 $CONFIGURE_ARGS &&
36 make && make install && make install-libs
38 for i in libcom_err libe2p libext2fs libss; do
39 chmod u+w $install/usr/lib/$i.a
40 done
42 # Make .info usable
43 gunzip $install/usr/share/info/libext2fs.info.gz
44 install-info --dir-file=$install/usr/share/info/dir \
45 $install/usr/share/info/libext2fs.info
47 # Additional documentation
48 makeinfo -o $src/doc/com_err.info $src/lib/et/com_err.texinfo
49 install -m644 $src/doc/com_err.info $install/usr/share/info
50 install-info --dir-file=$install/usr/share/info/dir \
51 $install/usr/share/info/com_err.info
53 # Remove illegal symbol '\b'
54 sed -i 's|\\b||' $src/po/de.po
55 msgfmt $src/po/de.po -o $src/po/de.gmo
56 }
58 # Rules to gen a SliTaz package suitable for Tazpkg.
59 genpkg_rules()
60 {
61 case $PACKAGE in
62 e2fsprogs)
63 copy bin/ sbin/ etc/ *.so*
64 find $fs -name '*com_err*' -delete
65 # Remove fsck provided by Busybox.
66 rm $fs/sbin/fsck*
67 DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
68 ;;
69 e2fsprogs-dev)
70 copy @dev *.awk *.sed
71 find $fs \( -name com_err.h -o -name libcom_err.a -o -name com_err.pc \) -delete
72 DEPENDS="libcomerr-dev pkg-config"
73 ;;
74 libcomerr)
75 copy libcom_err.so*
76 CAT="base-system|libcomerr library"
77 DEPENDS=" "
78 ;;
79 libcomerr-dev)
80 copy libcom_err.a com_err.h com_err.pc
81 CAT="development|libcomerr development files"
82 DEPENDS="pkg-config"
83 ;;
84 e2fsprogs-fsck)
85 copy fsck.*
86 rm -r $fs/usr
87 CAT="system-tools|fsck tools"
88 DEPENDS="e2fsprogs libcomerr util-linux-blkid util-linux-uuid"
89 ;;
90 esac
91 }
93 # Overlap busybox
94 pre_install_e2fsprogs()
95 {
96 rm -f $1/sbin/tune2fs
97 }