wok-current annotate cpio/receipt @ rev 24310

updated tidy-html5 (5.6.0 -> 5.8.0)
author Hans-G?nter Theisgen
date Wed Jan 19 09:24:46 2022 +0100 (2022-01-19)
parents dfc9f040ab63
children 71360a13cd94
rev   line source
pankso@5 1 # SliTaz package receipt.
pankso@5 2
pankso@5 3 PACKAGE="cpio"
pascal@23835 4 VERSION="2.13"
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"
Hans-G?nter@20807 9 WEB_SITE="http://www.gnu.org/software/cpio/"
Hans-G?nter@20807 10
pankso@5 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20809 12 GNU_MIRROR="http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.gnu.org"
pankso@5 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@5 14
pascal@14999 15 DEPENDS="glibc-base"
pascal@14999 16 BUILD_DEPENDS="slitaz-toolchain"
pascal@14999 17
pankso@5 18 # Rules to configure and make the package.
pankso@5 19 compile_rules()
pankso@5 20 {
rcx@3668 21 ./configure --prefix=/usr \
rcx@3668 22 --bindir=/bin \
rcx@3668 23 --libexecdir=/usr/bin \
rcx@3668 24 --mandir=/usr/share/man \
rcx@3668 25 --infodir=/usr/share/info \
rcx@3668 26 $CONFIGURE_ARGS &&
rcx@3668 27 make &&
pascal@14999 28 make DESTDIR=$DESTDIR install
pankso@5 29 }
pankso@5 30
pankso@5 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5 32 genpkg_rules()
pankso@5 33 {
Hans-G?nter@20807 34 # mkdir -p $fs/usr/share/locale
Hans-G?nter@20807 35 mkdir -p $fs/usr/bin
pascal@14999 36 cp -a $install/bin $fs
pascal@14999 37 cp -a $install/usr/bin $fs/usr
pankso@5 38 }
rcx@3668 39
rcx@3668 40 # Remove Busybox symlink before installing
rcx@3668 41 pre_install()
rcx@3668 42 {
pascal@18730 43 rm -f "$1/bin/cpio"
rcx@3668 44 }
rcx@3668 45
rcx@3668 46 post_remove()
rcx@3668 47 {
pascal@18730 48 ln -s /bin/busybox "$1/bin/cpio"
rcx@3668 49 }