wok-next annotate cpio/receipt @ rev 20453

Undo openssl split
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 16:28:07 2018 +0200 (2018-02-28)
parents 1b1490b81f6b
children 7729bf733291
rev   line source
pankso@5 1 # SliTaz package receipt.
pankso@5 2
pankso@5 3 PACKAGE="cpio"
al@19605 4 VERSION="2.12"
pankso@178 5 CATEGORY="base-system"
pankso@5 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@19605 10
al@19605 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@5 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@5 13
pascal@14999 14 DEPENDS="glibc-base"
al@19605 15 BUILD_DEPENDS="tar gettext texinfo"
pascal@14999 16
pankso@5 17 # Rules to configure and make the package.
pankso@5 18 compile_rules()
pankso@5 19 {
al@19605 20 ./configure \
rcx@3668 21 --bindir=/bin \
al@19605 22 --enable-mt \
al@19605 23 --with-rmt=$install/usr/libexec/rmt \
rcx@3668 24 $CONFIGURE_ARGS &&
rcx@3668 25 make &&
al@19605 26 makeinfo --html -o doc/html doc/cpio.texi &&
al@19605 27 makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi &&
al@19605 28 makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi &&
al@19605 29 make install
al@19605 30
al@19605 31 docdir=$install/usr/share/doc/$PACKAGE-$VERSION
al@19605 32 install -v -m755 -d $docdir/html
al@19605 33 install -v -m644 doc/html/* $docdir/html
al@19605 34 install -v -m644 doc/cpio.html $docdir
al@19605 35 install -v -m644 doc/cpio.txt $docdir
pankso@5 36 }
pankso@5 37
pankso@5 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5 39 genpkg_rules()
pankso@5 40 {
al@19737 41 copy @std
pankso@5 42 }