wok-next annotate cpio/receipt @ rev 21540
updated cantarell-fonts (0.111 -> 0.201)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 16:26:44 2020 +0100 (2020-06-21) |
parents | f48456621a9d |
children | d5ccc78ffcc5 |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@19605 | 9 WEB_SITE="https://www.gnu.org/software/cpio/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 | 15 BUILD_DEPENDS="tar gettext-dev 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 } |