wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xfsprogs"
4 VERSION="4.9.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for making, mounting, and manipulating XFS file-system"
7 MAINTAINER="patel@math.uga.edu"
8 LICENSE="GPL3"
9 WEB_SITE="http://oss.sgi.com/projects/xfs/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/xfsprogs.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/$TARBALL"
15 BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev"
16 SPLIT="xfsprogs-dev"
18 compile_rules() {
19 rm /bin/rpm # busybox rpm useless here
21 fix libtool &&
22 make \
23 DEBUG=-DNDEBUG \
24 INSTALL_USER=root \
25 INSTALL_GROUP=root \
26 LOCAL_CONFIGURE_OPTIONS="--enable-readline" &&
27 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install &&
28 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install-dev || return 1
30 rm -fv \
31 $install/usr/lib/libhandle.a \
32 $install/lib/libhandle.a \
33 $install/lib/libhandle.la \
34 $install/lib/libhandle.so
35 ln -sfv ../../lib/libhandle.so.1 $install/usr/lib/libhandle.so
36 sed -i "s@libdir='/lib@libdir='/usr/lib@" $install/usr/lib/libhandle.la
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 xfsprogs)
42 copy @std
43 DEPENDS="ncurses readline util-linux-blkid util-linux-uuid"
44 ;;
45 *-dev)
46 copy @dev
47 ;;
48 esac
49 }