wok-next annotate xfsprogs/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 10df65db91ad |
children | d5aab818505e |
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" |
pankso@1009 | 6 SHORT_DESC="Utilities for making, mounting, and manipulating XFS file-system" |
pankso@1009 | 7 MAINTAINER="patel@math.uga.edu" |
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@19816 | 15 BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev" |
al@19816 | 16 SPLIT="xfsprogs-dev" |
pascal@15104 | 17 |
al@20604 | 18 compile_rules() { |
al@19816 | 19 rm /bin/rpm # busybox rpm useless here |
al@20604 | 20 |
al@20604 | 21 fix libtool && |
al@19816 | 22 make \ |
al@19816 | 23 DEBUG=-DNDEBUG \ |
al@19816 | 24 INSTALL_USER=root \ |
al@19816 | 25 INSTALL_GROUP=root \ |
al@19816 | 26 LOCAL_CONFIGURE_OPTIONS="--enable-readline" && |
al@19816 | 27 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install && |
al@20604 | 28 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install-dev || return 1 |
al@19816 | 29 |
al@19816 | 30 rm -fv \ |
al@19816 | 31 $install/usr/lib/libhandle.a \ |
al@19816 | 32 $install/lib/libhandle.a \ |
al@19816 | 33 $install/lib/libhandle.la \ |
al@20604 | 34 $install/lib/libhandle.so |
al@20604 | 35 ln -sfv ../../lib/libhandle.so.1 $install/usr/lib/libhandle.so |
al@19816 | 36 sed -i "s@libdir='/lib@libdir='/usr/lib@" $install/usr/lib/libhandle.la |
al@19816 | 37 } |
pankso@1009 | 38 |
al@20604 | 39 genpkg_rules() { |
al@19816 | 40 case $PACKAGE in |
al@19816 | 41 xfsprogs) |
al@19816 | 42 copy @std |
al@19816 | 43 DEPENDS="ncurses readline util-linux-blkid util-linux-uuid" |
al@19816 | 44 ;; |
al@19816 | 45 *-dev) |
al@19816 | 46 copy @dev |
al@19816 | 47 ;; |
al@19816 | 48 esac |
pankso@1009 | 49 } |