wok-next view xfsprogs/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
parents | a25b11019e81 |
children | 10df65db91ad |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/$TARBALL"
14 BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev"
15 SPLIT="xfsprogs-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/xfsprogs.html
21 rm /bin/rpm # busybox rpm useless here
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 &&
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 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
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 }