wok-next view xfsprogs/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xfsprogs"
4 VERSION="4.9.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Making, mounting, and manipulating XFS filesystem"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://oss.sgi.com/projects/xfs/" # 301 Moved Permanently ->
10 WEB_SITE="https://www.hpe.com/us/en/solutions/hpc-high-performance-computing.html"
11 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/xfsprogs.html"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/$TARBALL"
16 BUILD_DEPENDS="gettext-dev util-linux-uuid-dev readline-dev \
17 util-linux-blkid-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 rm /bin/rpm # busybox rpm useless here
23 fix libtool &&
24 make \
25 DEBUG=-DNDEBUG \
26 INSTALL_USER=root \
27 INSTALL_GROUP=root \
28 LOCAL_CONFIGURE_OPTIONS="--enable-readline" &&
29 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install &&
30 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install-dev || return 1
32 rm -fv \
33 $install/usr/lib/libhandle.a \
34 $install/lib/libhandle.a \
35 $install/lib/libhandle.la \
36 $install/lib/libhandle.so
37 ln -sfv ../../lib/libhandle.so.1 $install/usr/lib/libhandle.so
38 sed -i "s@libdir='/lib@libdir='/usr/lib@" $install/usr/lib/libhandle.la
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 xfsprogs)
44 copy @std
45 DEPENDS="ncurses readline util-linux-blkid util-linux-uuid"
46 ;;
47 *-dev)
48 copy @dev
49 ;;
50 esac
51 }