blob: ed2ab667f9c8aea8619e9b4c7d8e2a92b1bf42e7 (
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
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=openvcp
_pkgname=openvcpd
pkgver=0.5
_pkgver=0.5rc3
pkgrel=0
pkgdesc="Control Panel for VServer instances"
url="http://www.openvcp.org"
arch="all"
license="GPL"
depends=
depends_dev=
makedepends="gnutls-dev util-vserver-dev libxml2-dev libpcap-dev libtool sqlite-dev rsync"
install=
subpackages=
source="http://files.openvcp.org/$_pkgname-$_pkgver.tar.gz
$pkgname.initd"
_builddir="$srcdir"/$_pkgname-$_pkgver
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-gnutls
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
md5sums="9c65d706133ea48553c90236997f1b8b openvcpd-0.5rc3.tar.gz
08cef22e3abc5824133733e17aa4e607 openvcp.initd"
|