blob: 787d95b50b8357ab230e53b68fd598d951a5a8f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=debootstrap
pkgver=1.0.72
pkgrel=0
pkgdesc="Debian/Ubuntu bootstrap scripts"
url="http://packages.qa.debian.org/d/debootstrap.html"
arch="all"
license="GPL2"
depends="dpkg tar"
makedepends=""
install=""
subpackages=""
source="http://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap_$pkgver.tar.gz
pkgdetails.c
makedev.sh"
_builddir="$srcdir"/debootstrap-$pkgver
build() {
chmod +x "$srcdir/makedev.sh"
${CC:-gcc} $CFLAGS $LDFLAGS -o "$_builddir"/pkgdetails \
"$srcdir"/pkgdetails.c || return 1
}
package() {
cd "$_builddir"
# This can only be done in a fakeroot
make MAKEDEV="$srcdir/makedev.sh" \
devices.tar.gz || return 1
make DESTDIR="$pkgdir" install || return 1
install -Dm755 pkgdetails "$pkgdir"/usr/lib/debootstrap/pkgdetails
}
md5sums="0cacf6e3bd8b566e921d2a326d6fd2bd debootstrap_1.0.72.tar.gz
66b6fb6d862ba4886701c9b056088479 pkgdetails.c
ef5038e52173de7a18c37a0925ccf383 makedev.sh"
sha256sums="90f4cf1390326f020b9192b6a45ba1d323fffab9c22c6f62451780e6f5482f8d debootstrap_1.0.72.tar.gz
1cf1644e8400693fd41d378f972c15fa7b32f3282117ea967c995705256a84d6 pkgdetails.c
3f26318b59c7697205285d04eb68a4c65905faedd7bbcb4e53e803f9ea8e5c97 makedev.sh"
sha512sums="b8f186b13f66789e96f775337d06821cfb464e35dd661a2bff1420bfb1254cf85ce9eb46be1a27dad7a462628e441cbfcdfffaf12ee5a394d15c248882295848 debootstrap_1.0.72.tar.gz
432313c8aef4974f21cb81b48d9f1c319692325f24a456e460e6f92c6a15ade7f29dfee4bf2ab3664c90b09d1f16e46cb8dd898ebd317f2547e63a64a773d971 pkgdetails.c
71f1dfe7d785cf5f4b2db7e4de01b5e542b33a1a49194a53665d4d68b5de47fc3c5b37ad2d1a7c37fb14d10c6758fa2fb043bd68a6fbb8b9dba90fb071a9db9c makedev.sh"
|