blob: 68763910f98f83cc535460fa7aac29a6efc253f9 (
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
|
# Maintainer: Michael Riegert <michael at eowyn net>
# Contributor: JulioJu < juanes 0890 at google mail dot com >
# Contributor: Maks Verver <maksverver at geocities dot com>
pkgname=uml_utilities
pkgver=20070815
pkgrel=2
pkgdesc="User Mode Linux Utilities (Debian package uml-utilities). It contains uml_net, uml_mconsole, uml_switch, tunctl, … and the lib port-helper."
arch=(i686 x86_64)
depends=('fuse' 'perl')
provides=('uml_utilities')
conflicts=('uml_utilities')
url="http://user-mode-linux.sourceforge.net/"
source=(
"http://user-mode-linux.sourceforge.net/${pkgname}_${pkgver}.tar.bz2"
"uml_utilities.patch")
license=('GPL2')
md5sums=(
'b0468ac8b79cef53f36f5f9517907462'
'8fbcca01953da90c48f5ec06f564480f')
prepare() {
cd "$srcdir/tools-$pkgver"
patch -Np1 -i "${srcdir}/uml_utilities.patch"
}
build() {
cd "$srcdir/tools-$pkgver"
make
}
package() {
cd "$srcdir/tools-$pkgver"
make DESTDIR="$pkgdir" install
mv "$pkgdir/usr/sbin/jail_uml" "$pkgdir/usr/bin/" && rmdir "$pkgdir/usr/sbin/" || return 4
chown root "$pkgdir/usr/bin/"*
}
|