summaryrefslogtreecommitdiffstats
path: root/extra/antiword/Pkgfile
blob: 2f500d1e34c91264f5ef4c62175059f4344eddcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}