summaryrefslogtreecommitdiffstats
path: root/base/antiword/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/antiword/Pkgfile')
-rw-r--r--base/antiword/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/base/antiword/Pkgfile b/base/antiword/Pkgfile
new file mode 100644
index 000000000..c3ab4e494
--- /dev/null
+++ b/base/antiword/Pkgfile
@@ -0,0 +1,19 @@
+# Description: lecteur de fichier .doc en ligne de commande
+# URL: http://www.winfield.demon.nl
+# Maintainer: NuTyX core team
+# Packager: skingrapher at legtux dot org
+# Depends on:
+
+name=antiword
+version=0.37
+release=1
+source=(http://www.winfield.demon.nl/linux/$name-$version.tar.gz)
+
+
+build() {
+ cd $name-$version
+ make GLOBAL_INSTALL_DIR=/usr/bin OPT="$CFLAGS"
+ install -d -m 0755 $PKG/usr/bin $PKG/usr/share/$name $PKG/usr/share/man/man1
+ make DESTDIR=$PKG GLOBAL_INSTALL_DIR=/usr/bin global_install
+ install -D --mode=666 Docs/antiword.1 $PKG/usr/share/man/man1/antiword.1
+}