summaryrefslogtreecommitdiffstats
path: root/base/m4/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/m4/Pkgfile')
-rwxr-xr-xbase/m4/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/base/m4/Pkgfile b/base/m4/Pkgfile
new file mode 100755
index 000000000..c24a51f30
--- /dev/null
+++ b/base/m4/Pkgfile
@@ -0,0 +1,23 @@
+# Description: A standard Unix macro processor with extensions
+# URL: http://www.seindal.dk/rene/gnu/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: iana-etc
+
+name=m4
+version=1.4.13
+release=1
+source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+./configure --prefix=/usr \
+ --enable-threads\
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+make
+make DESTDIR=$PKG install
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+}