From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/bc/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 main/bc/APKBUILD (limited to 'main/bc/APKBUILD') diff --git a/main/bc/APKBUILD b/main/bc/APKBUILD new file mode 100644 index 0000000000..d5f1851f2d --- /dev/null +++ b/main/bc/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Michael Mason +# Maintainer: Natanael Copa +pkgname=bc +pkgver=1.06 +pkgrel=1 +pkgdesc="arbitrary precision numeric processing language (calculator)" +url="http://www.gnu.org/software/bc/bc.html" +license="GPL" +depends= +makedepends="flex readline-dev" +install= +subpackages="$pkgname-doc" +source="http://mirrors.kernel.org/gnu/bc/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make DESTDIR="$pkgdir" install + +} + +md5sums="d44b5dddebd8a7a7309aea6c36fda117 bc-1.06.tar.gz" -- cgit v1.2.3