wok-next view e2fsprogs/receipt @ rev 21610
updated e2fsprogs (1.44.5 -> 1.45.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:07:33 2020 +0100 (2020-06-25) |
parents | 7c5d038be95b |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="e2fsprogs"
4 VERSION="1.45.6"
5 CATEGORY="base-system"
6 TAGS_std="LFS"
7 SHORT_DESC="Filesystem utilities for use with ext2 and ext3"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://sourceforge.net/projects/e2fsprogs/"
11 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/e2fsprogs.html"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # 1.44.5 TARBALL_SHA1="c3f64d10b6ef1a268a077838a5cafb6aaebe2986"
17 BUILD_DEPENDS="acl-dev attr-dev gettext-dev texinfo util-linux-blkid-dev
18 util-linux-uuid-dev "
19 SPLIT="libcomerr-dev $PACKAGE-dev $PACKAGE-fsck libcomerr $PACKAGE"
21 COPY_libcomerr_dev="libcom_err.a com_err.h com_err.pc"
22 COPY_e2fsprogs_dev="@dev *.sed *.awk @rm compile_et mk_cmds"
23 COPY_fsck="sbin/fsck.*"
24 COPY_libcomerr="libcom_err.so*"
26 DEPENDS_libcomerr_dev="libcomerr"
27 DEPENDS_e2fsprogs_dev="$PACKAGE $PACKAGE-fsck libcomerr-dev"
28 DEPENDS_fsck="$PACKAGE libcomerr util-linux-blkid util-linux-uuid"
29 DEPENDS_libcomerr=" "
30 DEPENDS_std="libcomerr util-linux-blkid util-linux-uuid"
32 CAT_libcomerr_dev="development|libcomerr development files"
33 CAT_fsck="system-tools|fsck tools"
34 CAT_libcomerr="base-system|libcomerr library"
36 compile_rules()
37 {
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-fsck \
48 --disable-libblkid \
49 --disable-libuuid \
50 --disable-uuidd \
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
56 do
57 chmod u+w $install/usr/lib/$i.a
58 done
60 # Make .info usable
61 gunzip $install/usr/share/info/libext2fs.info.gz
62 install-info --dir-file=$install/usr/share/info/dir \
63 $install/usr/share/info/libext2fs.info
65 # Additional documentation
66 makeinfo -o $src/doc/com_err.info $src/lib/et/com_err.texinfo
67 install -m644 $src/doc/com_err.info $install/usr/share/info
68 install-info --dir-file=$install/usr/share/info/dir \
69 $install/usr/share/info/com_err.info
71 # Remove illegal symbol '\b'
72 sed -i 's|\\b||' $src/po/de.po
73 msgfmt $src/po/de.po -o $src/po/de.gmo
75 # Make symlinks relative
76 fix symlinks
77 }
79 # Overlap busybox
80 pre_install_e2fsprogs()
81 {
82 rm -f $1/sbin/tune2fs
83 }