mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 07:42:10 +01:00
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
#!/bin/sh
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=beecrypt
|
|
pkgver=4.1.2
|
|
pkgrel=8
|
|
pkgdesc="general-purpose cryptography library"
|
|
url="http://sourceforge.net/projects/beecrypt"
|
|
arch="all"
|
|
license="LGPL"
|
|
depends=
|
|
makedepends="libtool m4"
|
|
|
|
subpackages="$pkgname-dev"
|
|
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
|
|
$pkgname-4.1.2-base64.patch
|
|
"
|
|
|
|
_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 \
|
|
--enable-threads \
|
|
--enable-shared \
|
|
--without-java \
|
|
--without-python \
|
|
--with-cplusplus=no
|
|
make libaltdir=/usr/lib || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make libaltdir=/usr/lib DESTDIR="$pkgdir" install || return 1
|
|
rm "$pkgdir"/usr/lib/*.la || return 1
|
|
}
|
|
md5sums="820d26437843ab0a6a8a5151a73a657c beecrypt-4.1.2.tar.gz
|
|
01444edbffee71c2d8818fa66a3a8555 beecrypt-4.1.2-base64.patch"
|