wok-next annotate cpio/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | 9a5b17ddcfcb |
children | f48456621a9d |
rev | line source |
---|---|
al@20645 | 1 # SliTaz package receipt v2. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="cpio" |
al@19605 | 4 VERSION="2.12" |
pankso@178 | 5 CATEGORY="base-system" |
al@20645 | 6 SHORT_DESC="GNU cpio archiver" |
pankso@5 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@19605 | 9 WEB_SITE="https://www.gnu.org/software/cpio/" |
al@20645 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/cpio.html" |
al@19605 | 11 |
al@19605 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@5 | 14 |
al@19605 | 15 BUILD_DEPENDS="tar gettext texinfo" |
pascal@14999 | 16 |
al@20645 | 17 compile_rules() { |
al@19605 | 18 ./configure \ |
rcx@3668 | 19 --bindir=/bin \ |
al@19605 | 20 --enable-mt \ |
al@19605 | 21 --with-rmt=$install/usr/libexec/rmt \ |
al@20645 | 22 $CONFIGURE_ARGS && |
rcx@3668 | 23 make && |
al@19605 | 24 makeinfo --html -o doc/html doc/cpio.texi && |
al@19605 | 25 makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi && |
al@19605 | 26 makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi && |
al@20645 | 27 make install || return 1 |
al@19605 | 28 |
al@19605 | 29 docdir=$install/usr/share/doc/$PACKAGE-$VERSION |
al@20645 | 30 install -v -m755 -d $docdir/html |
al@19605 | 31 install -v -m644 doc/html/* $docdir/html |
al@19605 | 32 install -v -m644 doc/cpio.html $docdir |
al@19605 | 33 install -v -m644 doc/cpio.txt $docdir |
pankso@5 | 34 } |
pankso@5 | 35 |
al@20645 | 36 genpkg_rules() { |
al@19737 | 37 copy @std |
al@20645 | 38 DEPENDS="glibc-base" |
pankso@5 | 39 } |