wok-next annotate xfsprogs/receipt @ rev 21041
Follow HTTP redirections for homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 13:21:03 2018 +0200 (2018-11-09) |
parents | d5aab818505e |
children |
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" |
al@21041 | 9 WEB_SITE="http://oss.sgi.com/projects/xfs/" # 301 Moved Permanently -> |
al@21041 | 10 WEB_SITE="https://www.hpe.com/us/en/solutions/hpc-high-performance-computing.html" |
al@21017 | 11 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/xfsprogs.html" |
pankso@1009 | 12 |
al@19816 | 13 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19816 | 14 WGET_URL="https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/$TARBALL" |
al@19816 | 15 |
al@21020 | 16 BUILD_DEPENDS="gettext-dev util-linux-uuid-dev readline-dev \ |
al@21020 | 17 util-linux-blkid-dev" |
al@21020 | 18 SPLIT="$PACKAGE-dev" |
pascal@15104 | 19 |
al@20604 | 20 compile_rules() { |
al@19816 | 21 rm /bin/rpm # busybox rpm useless here |
al@20604 | 22 |
al@20604 | 23 fix libtool && |
al@19816 | 24 make \ |
al@19816 | 25 DEBUG=-DNDEBUG \ |
al@19816 | 26 INSTALL_USER=root \ |
al@19816 | 27 INSTALL_GROUP=root \ |
al@19816 | 28 LOCAL_CONFIGURE_OPTIONS="--enable-readline" && |
al@19816 | 29 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install && |
al@20604 | 30 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install-dev || return 1 |
al@19816 | 31 |
al@19816 | 32 rm -fv \ |
al@19816 | 33 $install/usr/lib/libhandle.a \ |
al@19816 | 34 $install/lib/libhandle.a \ |
al@19816 | 35 $install/lib/libhandle.la \ |
al@20604 | 36 $install/lib/libhandle.so |
al@20604 | 37 ln -sfv ../../lib/libhandle.so.1 $install/usr/lib/libhandle.so |
al@19816 | 38 sed -i "s@libdir='/lib@libdir='/usr/lib@" $install/usr/lib/libhandle.la |
al@19816 | 39 } |
pankso@1009 | 40 |
al@20604 | 41 genpkg_rules() { |
al@19816 | 42 case $PACKAGE in |
al@19816 | 43 xfsprogs) |
al@19816 | 44 copy @std |
al@19816 | 45 DEPENDS="ncurses readline util-linux-blkid util-linux-uuid" |
al@19816 | 46 ;; |
al@19816 | 47 *-dev) |
al@19816 | 48 copy @dev |
al@19816 | 49 ;; |
al@19816 | 50 esac |
pankso@1009 | 51 } |