diff options
Diffstat (limited to 'testing/cntlm/APKBUILD')
-rw-r--r-- | testing/cntlm/APKBUILD | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/testing/cntlm/APKBUILD b/testing/cntlm/APKBUILD index 854f2a4782..cb82deba81 100644 --- a/testing/cntlm/APKBUILD +++ b/testing/cntlm/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cntlm pkgver=0.92.3 -pkgrel=1 +pkgrel=2 pkgdesc="NTLM Session Response / NTLMv2 authenticating HTTP proxy" url="http://cntlm.sourceforge.net/" arch="all" @@ -13,33 +13,20 @@ subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/project/cntlm/cntlm/cntlm%20$pkgver/cntlm-$pkgver.tar.gz cntlm.initd " -_builddir="$srcdir"/cntlm-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - +builddir="$srcdir"/cntlm-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - + cd "$builddir" + make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } |