diff options
author | skingrapher <gandalf@aldebaran.(none)> | 2009-11-27 12:23:47 +0400 |
---|---|---|
committer | skingrapher <gandalf@aldebaran.(none)> | 2009-11-27 12:23:47 +0400 |
commit | 329a5215dd1865de9f866d89dbee569aa1697b7b (patch) | |
tree | a046e1c9be7989923617ce976db2fb569cce04ef /extra/antiword/Pkgfile | |
parent | 43836993c302f89ffad4defc4a15fafd83d41c59 (diff) | |
download | nutyx-extra-329a5215dd1865de9f866d89dbee569aa1697b7b.tar.gz nutyx-extra-329a5215dd1865de9f866d89dbee569aa1697b7b.tar.bz2 nutyx-extra-329a5215dd1865de9f866d89dbee569aa1697b7b.tar.xz nutyx-extra-329a5215dd1865de9f866d89dbee569aa1697b7b.zip |
ajout d'antiword#0.37-1
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 +} |