mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 06:42:01 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=beecrypt
|
|
pkgver=4.2.1
|
|
pkgrel=1
|
|
pkgdesc="A general-purpose cryptography library"
|
|
url="http://sourceforge.net/projects/beecrypt"
|
|
arch="all"
|
|
license="LGPL2+"
|
|
depends=""
|
|
makedepends="libtool m4"
|
|
subpackages="$pkgname-dev"
|
|
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir/$pkgname-$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
|
|
update_config_sub || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
LIBS=-lgomp ./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--enable-threads \
|
|
--enable-shared \
|
|
--without-java \
|
|
--without-python \
|
|
--with-cplusplus=no \
|
|
|| return 1
|
|
make libaltdir=/usr/lib || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make libaltdir=/usr/lib DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="8441c014170823f2dff97e33df55af1e beecrypt-4.2.1.tar.gz"
|
|
sha256sums="286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d beecrypt-4.2.1.tar.gz"
|
|
sha512sums="59995d53c024efe6344a21ac0d6d55fbe652488a4a22cc6719f9fc3851d56697fa8738937d48aa1e6f9ebe749de61ac3c79a5f0cea793872213c3bdf922e71bc beecrypt-4.2.1.tar.gz"
|