blob: 31fb37ce077ef52c37ebe5cb7ee0c04d3d1c8f85 (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=ifupdown
pkgver=0.6.10
pkgrel=0
pkgdesc="high level tools to configure network interfaces"
url="http://packages.debian.org/ifupdown"
arch="all"
license="GPL"
depends=
depends_dev=
makedepends=
install="$pkgname.post-deinstall $pkgname.post-upgrade"
subpackages=
source="http://ftp.debian.org/pool/main/i/$pkgname/${pkgname}_$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make BASEDIR="$pkgdir" install || return 1
}
md5sums="70db0d8caf06a17d65b612fa8919732b ifupdown_0.6.10.tar.gz"
|