summaryrefslogtreecommitdiffstats
path: root/main/beecrypt
diff options
context:
space:
mode:
Diffstat (limited to 'main/beecrypt')
-rw-r--r--main/beecrypt/APKBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/main/beecrypt/APKBUILD b/main/beecrypt/APKBUILD
index 11221c288..3b12e3590 100644
--- a/main/beecrypt/APKBUILD
+++ b/main/beecrypt/APKBUILD
@@ -2,36 +2,41 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=beecrypt
pkgver=4.1.2
-pkgrel=4
+pkgrel=5
pkgdesc="general-purpose cryptography library"
url="http://sourceforge.net/projects/beecrypt"
license="LGPL"
depends=
-makedepends="uclibc++-dev libtool m4"
+makedepends="libtool m4"
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname-4.1.2-base64.patch
"
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- export CXX=${CXX_UC:-g++-uc}
-
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
for i in ../*.patch; do
msg "Applying $i..."
patch -p1 < $i || return 1
done
+}
+build() {
+ cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
- --disable-threads \
+ --enable-threads \
--enable-shared \
--without-java \
--without-python \
--with-cplusplus=no
-
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="820d26437843ab0a6a8a5151a73a657c beecrypt-4.1.2.tar.gz