aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-12-26 05:12:59 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-12-26 11:29:26 +0000
commit1a1cbf4ee2c744a9b31f9c97f6eb1b28b7424065 (patch)
tree80d09198b0a12976cd488a7a07062bddab547eff
parente120c6dbf910d4f8d98f3cfc3513f9c41ad504c7 (diff)
downloadaports-1a1cbf4ee2c744a9b31f9c97f6eb1b28b7424065.tar.gz
aports-1a1cbf4ee2c744a9b31f9c97f6eb1b28b7424065.tar.bz2
aports-1a1cbf4ee2c744a9b31f9c97f6eb1b28b7424065.tar.xz
main/musl-obstack: move from testing
-rw-r--r--main/musl-obstack/APKBUILD (renamed from testing/musl-obstack/APKBUILD)18
1 files changed, 8 insertions, 10 deletions
diff --git a/testing/musl-obstack/APKBUILD b/main/musl-obstack/APKBUILD
index ef775d40fb..3773e6ff85 100644
--- a/testing/musl-obstack/APKBUILD
+++ b/main/musl-obstack/APKBUILD
@@ -1,28 +1,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=musl-obstack
pkgver=1.1
-pkgrel=0
+pkgrel=1
pkgdesc="A standalone library to implement GNU libc's obstack"
url="https://github.com/pullmoll/musl-obstack"
arch="all"
-license="GPL-2.0"
-depends=""
-depends_dev=""
-makedepends="$depends_dev automake autoconf libtool"
-install=""
+license="GPL-2.0-or-later"
+makedepends="automake autoconf libtool"
subpackages="$pkgname-dev"
source="musl-obstack-$pkgver.tar.gz::https://github.com/pullmoll/musl-obstack/archive/v$pkgver.tar.gz"
-builddir="$srcdir/musl-obstack-$pkgver"
-build() {
- cd "$builddir"
+prepare() {
+ default_prepare
./bootstrap.sh
+}
+
+build() {
./configure --prefix=/usr
make
}
package() {
- cd "$builddir"
make install DESTDIR="$pkgdir"
}