summaryrefslogtreecommitdiffstats
path: root/main/util-vserver/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-23 18:24:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-23 18:24:11 +0000
commit2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd (patch)
treea63d3b3b1c89018b5419358eed5c2bb0acf1cd92 /main/util-vserver/APKBUILD
parente374901731eb35599bd6735de4dd38560e3a79b8 (diff)
downloadaports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.bz2
aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.xz
move core/* to main/
added maintainer to several packages as well
Diffstat (limited to 'main/util-vserver/APKBUILD')
-rw-r--r--main/util-vserver/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/util-vserver/APKBUILD b/main/util-vserver/APKBUILD
new file mode 100644
index 000000000..dbce95df8
--- /dev/null
+++ b/main/util-vserver/APKBUILD
@@ -0,0 +1,37 @@
+# This is an example APKBUILD file. Use this as a start to creating your own,
+# and remove these comments.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# Contributor: Your Name <youremail@domain.com>
+pkgname=util-vserver
+pkgver=0.30.215
+pkgrel=0
+pkgdesc="Linux-VServer admin utilities"
+url="http://www.nongnu.org/util-vserver/"
+license='GPL'
+depends="uclibc"
+makedepends="iptables-dev e2fsprogs beecrypt-dev autoconf automake g++"
+source="http://ftp.linux-vserver.org/pub/utils/$pkgname/$pkgname-$pkgver.tar.bz2
+ $pkgname-$pkgver-touch-t.patch"
+subpackages="$pkgname-doc $pkgname-dev"
+
+
+build() {
+ local i
+ cd "$srcdir/$pkgname-$pkgver"
+ for i in ../*.patch; do
+ patch -p1 -i $i || return 1
+ done
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var
+
+ make || return 1
+ make DESTDIR="$pkgdir/" install install-distribution
+}
+
+md5sums="befd9b8e5311e87395b67ee381d83649 util-vserver-0.30.215.tar.bz2
+0c0a1b3e4c7a59a3ec66b8a6339abb50 util-vserver-0.30.215-touch-t.patch"