aboutsummaryrefslogtreecommitdiffstats
path: root/unstable/ucarp/APKBUILD
blob: fe3afce0dd4f51286afd887905975c2b43ab6089 (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
# Contributor: 
# Maintainer: 
pkgname=ucarp
pkgver=1.5
pkgrel=0
pkgdesc="Share common IP and do fail over"
url="http://www.ucarp.org"
license="GPL"
depends="uclibc libpcap"
makedepends="libpcap-dev"
install=
subpackages=""
source="http://download.pureftpd.org/pub/ucarp/$pkgname-$pkgver.tar.gz
	ucarp.initd
	ucarp.confd"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install

	 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	 install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="ba585233e73f0dbce80427d04f431048  ucarp-1.5.tar.gz
fae5ca64ed20a9346b00e9c9411a43c8  ucarp.initd
ffdbc07da100b4882cc5da9121c0c842  ucarp.confd"