summaryrefslogtreecommitdiffstats
path: root/gawk/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 10:58:19 +0100
committerLukc <lukc@upyum.com>2010-12-12 10:58:19 +0100
commit40b051d65d95fe05a1674841e1f9f1b2917a3cd4 (patch)
tree89fd871787052f42120940179ba3d8d950a8bc6e /gawk/Pkgfile
parente40057b9b76c02e6ad6d1e149a778d218abcae5d (diff)
downloaddevel-40b051d65d95fe05a1674841e1f9f1b2917a3cd4.tar.gz
devel-40b051d65d95fe05a1674841e1f9f1b2917a3cd4.tar.bz2
devel-40b051d65d95fe05a1674841e1f9f1b2917a3cd4.tar.xz
devel-40b051d65d95fe05a1674841e1f9f1b2917a3cd4.zip
Recette de gawk ajoutée.
Diffstat (limited to 'gawk/Pkgfile')
-rw-r--r--gawk/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/gawk/Pkgfile b/gawk/Pkgfile
new file mode 100644
index 0000000..c5f601a
--- /dev/null
+++ b/gawk/Pkgfile
@@ -0,0 +1,27 @@
+description="A pattern scanning and processing language."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.gnu.org/software/gawk/gawk.html"
+depends=()
+
+name=gawk
+version=3.1.8
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+build ()
+{
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ --libexecdir=$libdir \
+ --mandir=$mandir \
+ --enable-switch \
+ $(use_enable nls);
+ make;
+ make DESTDIR=$PKG install;
+ #if ! use info; then
+ # rm -r $PKG/usr/share/info;
+ #fi
+ rm $PKG$prefix/bin/gawk-$version $PKG$prefix/bin/pgawk-$version $PKG$prefix/bin/{p,i}gawk $PKG$mandir/man1/{p,i}gawk.1;
+ ln -sf gawk.1.gz $PKG$mandir/man1/awk.1.gz
+}