mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-11 03:32:17 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Maintainer:
|
|
pkgname=libavl
|
|
pkgver=0.3.5
|
|
pkgrel=0
|
|
pkgdesc="AVLTree is a small implementation of AVL trees"
|
|
url="http://ftp.debian.org/debian/pool/main/liba/libavl"
|
|
arch="all"
|
|
license="LGPL"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="http://libavl.sourcearchive.com/downloads/0.3.5-3/libavl_$pkgver.orig.tar.gz
|
|
libavl_0.3.5-3.patch"
|
|
_builddir="$srcdir/avl-$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
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make prefix="$pkgdir" install || return 1
|
|
}
|
|
md5sums="882c68ea7f71876ca110f3b84d7ab12d libavl_0.3.5.orig.tar.gz
|
|
71a9af7a70f37b1ac17a010872a47712 libavl_0.3.5-3.patch"
|
|
sha256sums="4497b9e22cdd61ae2fa893b9d5fd6213dc306726d7c4be08c29e173622dca8a0 libavl_0.3.5.orig.tar.gz
|
|
2784d360e5afae8b46104755f72d59317d997ac638b51bcffd1a2b70bf6894e9 libavl_0.3.5-3.patch"
|
|
sha512sums="6a409025eb4560961c35bf0d80deb592ada9b448c497955ec7662a478fc4cebfdd46b9f33db0c913af773614752444563d29cea4418f896eb2761a233ee64b6d libavl_0.3.5.orig.tar.gz
|
|
dd08c0bed82eefe304355f102d6b0c3a088cd199fcf3ca456a3c747d5da9059bc8621fab72db730d7fe67c52a51c01e7a0835107ef624db4e79a1c2a2e4c899d libavl_0.3.5-3.patch"
|