wok-next diff cpio/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | 9a5b17ddcfcb |
children | f48456621a9d |
line diff
1.1 --- a/cpio/receipt Tue May 30 05:37:57 2017 +0300 1.2 +++ b/cpio/receipt Tue May 15 02:59:03 2018 +0300 1.3 @@ -1,42 +1,39 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="cpio" 1.8 VERSION="2.12" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="GNU cpio archiver." 1.11 +SHORT_DESC="GNU cpio archiver" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL3" 1.14 WEB_SITE="https://www.gnu.org/software/cpio/" 1.15 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/cpio.html" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="glibc-base" 1.21 BUILD_DEPENDS="tar gettext texinfo" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 ./configure \ 1.28 --bindir=/bin \ 1.29 --enable-mt \ 1.30 --with-rmt=$install/usr/libexec/rmt \ 1.31 - $CONFIGURE_ARGS && 1.32 + $CONFIGURE_ARGS && 1.33 make && 1.34 makeinfo --html -o doc/html doc/cpio.texi && 1.35 makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi && 1.36 makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi && 1.37 - make install 1.38 + make install || return 1 1.39 1.40 docdir=$install/usr/share/doc/$PACKAGE-$VERSION 1.41 - install -v -m755 -d $docdir/html 1.42 + install -v -m755 -d $docdir/html 1.43 install -v -m644 doc/html/* $docdir/html 1.44 install -v -m644 doc/cpio.html $docdir 1.45 install -v -m644 doc/cpio.txt $docdir 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 +genpkg_rules() { 1.52 copy @std 1.53 + DEPENDS="glibc-base" 1.54 }