wok-next annotate e2fsprogs/receipt @ rev 21387

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