wok-current annotate debootstrap/receipt @ rev 24836

updated libtasn1 and libtasn1-dev (4.16.0 -> 4.18.0)
author Hans-G?nter Theisgen
date Fri Mar 25 07:25:04 2022 +0100 (2022-03-25)
parents ad9db37113f2
children f7324cde07d7
rev   line source
shann@15686 1 # SliTaz package receipt
shann@15686 2
shann@15686 3 PACKAGE="debootstrap"
Hans-G?nter@24150 4 VERSION="1.0.123"
shann@15686 5 CATEGORY="misc"
Hans-G?nter@22642 6 SHORT_DESC="Bootstrap a basic Debian system."
shann@15686 7 MAINTAINER="shann@slitaz.org"
pascal@16051 8 LICENSE="MIT"
Hans-G?nter@22642 9 WEB_SITE="https://wiki.debian.org/Debootstrap"
Hans-G?nter@22642 10
pascal@24419 11 #TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24419 12 #WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL"
Hans-G?nter@22642 13 TARBALL="${PACKAGE}_$VERSION.tar.gz"
Hans-G?nter@22642 14 WGET_URL="http://deb.debian.org/debian/pool/main/d/$PACKAGE/$TARBALL"
shann@15686 15
shann@15697 16 DEPENDS="dpkg tar"
shann@15686 17
pascal@24419 18 # What is the latest version available today?
pascal@24419 19 current_version()
pascal@24419 20 {
pascal@24419 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24419 22 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24419 23 }
pascal@24419 24
Hans-G?nter@22642 25 # Rules to configure and make the package.
Hans-G?nter@22642 26 compile_rules()
Hans-G?nter@22642 27 {
Hans-G?nter@22642 28 make DESTDIR=$DESTDIR
Hans-G?nter@22642 29 }
Hans-G?nter@22642 30
shann@15686 31 # Rules to gen a SliTaz package suitable for Tazpkg.
shann@15686 32 genpkg_rules()
shann@15686 33 {
Hans-G?nter@22642 34 mkdir -p $fs/usr/sbin
Hans-G?nter@22642 35 mkdir -p $fs/usr/share/debootstrap
Hans-G?nter@22642 36 mkdir -p $fs/usr/share/doc
Hans-G?nter@22642 37
Hans-G?nter@22642 38 cp -a $src/debootstrap $fs/usr/sbin
Hans-G?nter@22642 39 cp -a $src/functions $fs/usr/share/debootstrap
Hans-G?nter@22642 40 cp -a $src/scripts $fs/usr/share/debootstrap
Hans-G?nter@22642 41 cp -a $src/debian/changelog $fs/usr/share/doc
Hans-G?nter@22642 42 cp -a $src/debian/copyright $fs/usr/share/doc
Hans-G?nter@22642 43 cp -a $src/README $fs/usr/share/doc
Hans-G?nter@22642 44
Hans-G?nter@22642 45 chown -R root.root $fs
shann@15686 46 }