wok-current view debootstrap/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
parents | ad9db37113f2 |
children | f7324cde07d7 |
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="http://deb.debian.org/debian/pool/main/d/$PACKAGE/$TARBALL"
16 DEPENDS="dpkg tar"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed 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 }