wok-next annotate xfsprogs/receipt @ rev 19816
gstreamer0, gst0-* are for version 0.10; while gstreamer1, gst1-* are for version 1.0; up gparted and all its suggested dependencies...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 27 00:56:44 2017 +0300 (2017-07-27) |
parents | a25b11019e81 |
children | 10df65db91ad |
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/" |
pankso@1009 | 10 |
al@19816 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19816 | 12 WGET_URL="https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/$TARBALL" |
al@19816 | 13 |
al@19816 | 14 BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev" |
al@19816 | 15 SPLIT="xfsprogs-dev" |
pascal@15104 | 16 |
pankso@1009 | 17 # Rules to configure and make the package. |
pankso@1009 | 18 compile_rules() |
pankso@1009 | 19 { |
al@19816 | 20 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/xfsprogs.html |
al@19816 | 21 rm /bin/rpm # busybox rpm useless here |
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@19816 | 28 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install-dev && |
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@19816 | 34 $install/lib/libhandle.so && |
al@19816 | 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 |
pankso@1009 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1009 | 40 genpkg_rules() |
pankso@1009 | 41 { |
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 } |