wok-next annotate xfsprogs/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | d457c4e37c1b |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
pankso@1009 | 2 |
pankso@1009 | 3 PACKAGE="xfsprogs" |
al@19816 | 4 VERSION="4.9.0" |
pankso@1009 | 5 CATEGORY="system-tools" |
al@21020 | 6 SHORT_DESC="Making, mounting, and manipulating XFS filesystem" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15105 | 8 LICENSE="GPL3" |
pankso@1009 | 9 WEB_SITE="http://oss.sgi.com/projects/xfs/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/xfsprogs.html" |
pankso@1009 | 11 |
al@19816 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19816 | 13 WGET_URL="https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/$TARBALL" |
al@19816 | 14 |
al@21020 | 15 BUILD_DEPENDS="gettext-dev util-linux-uuid-dev readline-dev \ |
al@21020 | 16 util-linux-blkid-dev" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
pascal@15104 | 18 |
al@20604 | 19 compile_rules() { |
al@19816 | 20 rm /bin/rpm # busybox rpm useless here |
al@20604 | 21 |
al@20604 | 22 fix libtool && |
al@19816 | 23 make \ |
al@19816 | 24 DEBUG=-DNDEBUG \ |
al@19816 | 25 INSTALL_USER=root \ |
al@19816 | 26 INSTALL_GROUP=root \ |
al@19816 | 27 LOCAL_CONFIGURE_OPTIONS="--enable-readline" && |
al@19816 | 28 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install && |
al@20604 | 29 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install-dev || return 1 |
al@19816 | 30 |
al@19816 | 31 rm -fv \ |
al@19816 | 32 $install/usr/lib/libhandle.a \ |
al@19816 | 33 $install/lib/libhandle.a \ |
al@19816 | 34 $install/lib/libhandle.la \ |
al@20604 | 35 $install/lib/libhandle.so |
al@20604 | 36 ln -sfv ../../lib/libhandle.so.1 $install/usr/lib/libhandle.so |
al@19816 | 37 sed -i "s@libdir='/lib@libdir='/usr/lib@" $install/usr/lib/libhandle.la |
al@19816 | 38 } |
pankso@1009 | 39 |
al@20604 | 40 genpkg_rules() { |
al@19816 | 41 case $PACKAGE in |
al@19816 | 42 xfsprogs) |
al@19816 | 43 copy @std |
al@19816 | 44 DEPENDS="ncurses readline util-linux-blkid util-linux-uuid" |
al@19816 | 45 ;; |
al@19816 | 46 *-dev) |
al@19816 | 47 copy @dev |
al@19816 | 48 ;; |
al@19816 | 49 esac |
pankso@1009 | 50 } |