aboutsummaryrefslogblamecommitdiffstats
path: root/main/ucarp/APKBUILD
blob: 96bbb1dbf1db567b68324952a36a4b91d73ce72e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 

              
            
        

                                          
          
             
        












                                                                      

                                           
                        
 
 




                                                                               

 
                                                             
                                             
                                              
# Contributor: Leonardo Arena <rnalrd@gmail.com> 
# Maintainer: 
pkgname=ucarp
pkgver=1.5.2
pkgrel=3
pkgdesc="Share common IP and do fail over"
url="http://www.ucarp.org"
arch="all"
license="GPL"
depends=
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 \
		--disable-nls
	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="e3caa733316a32c09e5d3817617e9145  ucarp-1.5.2.tar.gz
f73f9da77f874a3cd6b4e48ba6094363  ucarp.initd
bf914f6ce4fe4fea33a45d4d5b2c1fff  ucarp.confd"