aboutsummaryrefslogtreecommitdiffstats
path: root/main/m4
diff options
context:
space:
mode:
Diffstat (limited to 'main/m4')
-rw-r--r--main/m4/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/m4/APKBUILD b/main/m4/APKBUILD
index 65a998eafb..0d5a63e805 100644
--- a/main/m4/APKBUILD
+++ b/main/m4/APKBUILD
@@ -3,18 +3,21 @@ pkgname=m4
pkgver=1.4.13
pkgrel=0
pkgdesc="GNU macro processor"
-arch=i486
url="http://www.gnu.org/software/m4"
source=ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.gz
-depends=uclibc
-license=GPL
+depends=
+license="GPL"
subpackages="m4-doc"
-origin="core/$pkgname"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$_builddir"
./configure --prefix=/usr
make
+}
+
+package() {
+ cd "$_builddir"
make install DESTDIR="$pkgdir"
}