diff options
Diffstat (limited to 'extra/antiword/Pkgfile')
-rw-r--r-- | extra/antiword/Pkgfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/antiword/Pkgfile b/extra/antiword/Pkgfile new file mode 100644 index 000000000..2f500d1e3 --- /dev/null +++ b/extra/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: gcc, glibc +name=antiword +version=0.37 +release=1 +source=(http://www.winfield.demon.nl/linux/$name-$version.tar.gz) + + +build() { +cd $name-$version + sed -i "s|CFLAGS =.*|CFLAGS=$CFLAGS-DNDEBUG|g; \ + s|GLOBAL_INSTALL_DIR=.*|GLOBAL_INSTALL_DIR=/usr/bin|g"\ + Makefile.Linux + make DESTDIR=$PKG global_install + install -D --mode=666 Docs/antiword.1 $PKG/usr/share/man/man.1/antiword.1 +} |