aboutsummaryrefslogtreecommitdiffstats
path: root/main/beecrypt
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-04 13:47:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-04 13:47:39 +0000
commita158947b3a90fbb1280cc04347c8db44b6673944 (patch)
tree5dd7b51464a94d95583062e5306a3d797cec48ce /main/beecrypt
parent59bc7ecf73115652b423e43eb522d4e546c4c737 (diff)
downloadaports-a158947b3a90fbb1280cc04347c8db44b6673944.tar.bz2
aports-a158947b3a90fbb1280cc04347c8db44b6673944.tar.xz
main/beecrypt: dont use uclibc++
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 11221c2886..3b12e35901 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