CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dropbear: moved from core collection
[attic/ports/opt-cross.git] / antiword / Pkgfile
1 # Description: Show the text and images of MS Word documents
2 # URL: http://www.winfield.demon.nl
3 # Packager: sten, nick dot steeves at shaw dot ca
4 # Maintainer: Antti Nykanen, aon at iki dot fi
5 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6 # Depends on:
7
8 name=antiword
9 version=0.37
10 release=1
11 source=(http://www.winfield.demon.nl/linux/$name-$version.tar.gz)
12
13 build() {
14 cd $name-$version
15
16 make GLOBAL_INSTALL_DIR=/usr/bin \
17 CC="$CC" LD="$CC" OPT="$CFLAGS"
18
19 install -d -m 0755 $PKG/usr/bin $PKG/usr/share/$name $PKG/usr/man/man1
20 make DESTDIR=$PKG GLOBAL_INSTALL_DIR=/usr/bin global_install
21 install -D -m 0644 Docs/$name.1 $PKG/usr/man/man1/$name.1
22 # kantiword is a shell wrapper to make d&d possible in KDE
23 rm $PKG/usr/bin/kantiword
24 }