diff options
Diffstat (limited to 'main/ucarp/APKBUILD')
-rw-r--r-- | main/ucarp/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/ucarp/APKBUILD b/main/ucarp/APKBUILD new file mode 100644 index 0000000000..0d1ab5cf3a --- /dev/null +++ b/main/ucarp/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Leonardo Arena <rnalrd@gmail.com> +# Maintainer: +pkgname=ucarp +pkgver=1.5.1 +pkgrel=1 +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 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install || return 1 + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="391caa69fc17ffbc8a3543d8692021c9 ucarp-1.5.1.tar.gz +44df7855b8733cb4dcea2e830a738c72 ucarp.initd +bf914f6ce4fe4fea33a45d4d5b2c1fff ucarp.confd" |