wok-next view e2fsprogs/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents add40df8725d
children 465be5ff8599
line source
1 # SliTaz package receipt v2.
3 PACKAGE="e2fsprogs"
4 VERSION="1.44.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Filesystem utilities for use with ext2 and ext3"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/e2fsprogs.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 TARBALL_SHA1="c3f64d10b6ef1a268a077838a5cafb6aaebe2986"
16 BUILD_DEPENDS="util-linux-uuid-dev util-linux-blkid-dev gettext-dev attr-dev \
17 acl-dev texinfo"
18 SPLIT="libcomerr-dev $PACKAGE-dev $PACKAGE-fsck libcomerr $PACKAGE"
20 COPY_libcomerr_dev="libcom_err.a com_err.h com_err.pc"
21 COPY_e2fsprogs_dev="@dev *.sed *.awk @rm compile_et mk_cmds"
22 COPY_fsck="sbin/fsck.*"
23 COPY_libcomerr="libcom_err.so*"
25 DEPENDS_libcomerr_dev="libcomerr"
26 DEPENDS_e2fsprogs_dev="$PACKAGE $PACKAGE-fsck libcomerr-dev"
27 DEPENDS_fsck="$PACKAGE libcomerr util-linux-blkid util-linux-uuid"
28 DEPENDS_libcomerr=" "
29 DEPENDS_std="libcomerr util-linux-blkid util-linux-uuid"
31 CAT_libcomerr_dev="development|libcomerr development files"
32 CAT_fsck="system-tools|fsck tools"
33 CAT_libcomerr="base-system|libcomerr library"
35 TAGS_std="LFS"
37 compile_rules() {
38 # mkdir -p $install/usr/share/man/man8/
40 mkdir build
41 cd build
43 $src/configure \
44 --bindir=/bin \
45 --with-root-prefix="" \
46 --enable-elf-shlibs \
47 --disable-libblkid \
48 --disable-libuuid \
49 --disable-uuidd \
50 --disable-fsck \
51 $CONFIGURE_ARGS &&
52 make &&
53 make -j1 MKDIR_P="mkdir -p" install install-libs || return 1
55 for i in libcom_err libe2p libext2fs libss; do
56 chmod u+w $install/usr/lib/$i.a
57 done
59 # Make .info usable
60 gunzip $install/usr/share/info/libext2fs.info.gz
61 install-info --dir-file=$install/usr/share/info/dir \
62 $install/usr/share/info/libext2fs.info
64 # Additional documentation
65 makeinfo -o $src/doc/com_err.info $src/lib/et/com_err.texinfo
66 install -m644 $src/doc/com_err.info $install/usr/share/info
67 install-info --dir-file=$install/usr/share/info/dir \
68 $install/usr/share/info/com_err.info
70 # Remove illegal symbol '\b'
71 sed -i 's|\\b||' $src/po/de.po
72 msgfmt $src/po/de.po -o $src/po/de.gmo
74 # Make symlinks relative
75 fix symlinks
76 }
78 # Overlap busybox
79 pre_install_e2fsprogs() {
80 rm -f $1/sbin/tune2fs
81 }