aports/main/makekit/APKBUILD
Timo Teräs 352b4f4ace Revert parts of "main/makekit: upgrade to 0.2 and disable on arm"
This reverts commit 718468ec3e04641d6247dc9ab7e986744ef7a161.

The upgrade did not work out, just disable on arm.
2014-12-03 11:42:31 +02:00

51 lines
1.3 KiB
Plaintext

# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=makekit
pkgver=0.1
pkgrel=0
pkgdesc="modular build system for POSIX environments"
url="http://mkbuild.sourceforge.net/"
arch="x86 x86_64"
license="BSD"
depends=
depends_dev=
makedepends="$depends_dev"
install=""
subpackages=
source="makekit-$pkgver.tar.gz::https://github.com/bkoropoff/makekit/archive/release-$pkgver.tar.gz"
_builddir="$srcdir"/makekit-release-$pkgver/build
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() {
mkdir -p "$_builddir"
cd "$_builddir"
../configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="e74d0a97143ddf854ee0a74c69325f07 makekit-0.1.tar.gz"
sha256sums="bf433cedb1d26f602aa81ea5407a56c4c2dd1367d8124ca8c08c7097da0313cd makekit-0.1.tar.gz"
sha512sums="dfb16d7349c208f26f3c0ed380538479ae65e75b67cbf0c8faa13d0c8824f6efe8401ab80f87c0398c3e08acce0f08d2e547e2c90b3fe3874ee830fbab6f1ed8 makekit-0.1.tar.gz"