wok view debootstrap/receipt @ rev 25535
updated imlib2 and imlib2-dev 1.8.0 -> 1.10.0
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 02 09:40:16 2023 +0100 (20 months ago) |
parents | b78e79c31b1f |
children |
line source
1 # SliTaz package receipt
3 PACKAGE="debootstrap"
4 VERSION="1.0.123"
5 CATEGORY="misc"
6 SHORT_DESC="Bootstrap a basic Debian system."
7 MAINTAINER="shann@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://wiki.debian.org/Debootstrap"
11 #TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL"
13 TARBALL="${PACKAGE}_$VERSION.tar.gz"
14 WGET_URL="https://github.com/felixonmars/debootstrap/archive/refs/tags/$VERSION.tar.gz"
16 DEPENDS="dpkg tar"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make DESTDIR=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/sbin
35 mkdir -p $fs/usr/share/debootstrap
36 mkdir -p $fs/usr/share/doc
38 cp -a $src/debootstrap $fs/usr/sbin
39 cp -a $src/functions $fs/usr/share/debootstrap
40 cp -a $src/scripts $fs/usr/share/debootstrap
41 cp -a $src/debian/changelog $fs/usr/share/doc
42 cp -a $src/debian/copyright $fs/usr/share/doc
43 cp -a $src/README $fs/usr/share/doc
45 chown -R root.root $fs
46 }