summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-17 20:55:23 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-17 20:55:23 +0100
commit63076140b21446831769682ff1b63750ce091ab1 (patch)
treec62fb5fb8d0383bd2605e69fccf07acdac350fd3
parent67c0901aadc08c7519b7f4735536725a65dbdb90 (diff)
downloadnutyx-extra-63076140b21446831769682ff1b63750ce091ab1.tar.gz
nutyx-extra-63076140b21446831769682ff1b63750ce091ab1.tar.bz2
nutyx-extra-63076140b21446831769682ff1b63750ce091ab1.tar.xz
nutyx-extra-63076140b21446831769682ff1b63750ce091ab1.zip
antiword, déplacé dans base et corrections des dossiers
-rw-r--r--base/antiword/.footprint (renamed from extra/antiword/.footprint)11
-rw-r--r--base/antiword/.md5sum (renamed from extra/antiword/.md5sum)0
-rw-r--r--base/antiword/Pkgfile19
-rw-r--r--extra/antiword/Pkgfile19
4 files changed, 24 insertions, 25 deletions
diff --git a/extra/antiword/.footprint b/base/antiword/.footprint
index 592ee3386..766eb0097 100644
--- a/extra/antiword/.footprint
+++ b/base/antiword/.footprint
@@ -1,8 +1,7 @@
drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/local/
-drwxr-xr-x root/root usr/local/bin/
--rwxr-xr-x root/root usr/local/bin/antiword
--rwxr-xr-x root/root usr/local/bin/kantiword
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/antiword
+-rwxr-xr-x root/root usr/bin/kantiword
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/antiword/
-rw-r--r-- root/root usr/share/antiword/8859-1.txt
@@ -37,5 +36,5 @@ drwxr-xr-x root/root usr/share/antiword/
-rw-r--r-- root/root usr/share/antiword/koi8-u.txt
-rw-r--r-- root/root usr/share/antiword/roman.txt
drwxr-xr-x root/root usr/share/man/
-drwxr-xr-x root/root usr/share/man/man.1/
--rw-rw-rw- root/root usr/share/man/man.1/antiword.1.gz
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-rw-rw- root/root usr/share/man/man1/antiword.1.gz
diff --git a/extra/antiword/.md5sum b/base/antiword/.md5sum
index c2c7fba22..c2c7fba22 100644
--- a/extra/antiword/.md5sum
+++ b/base/antiword/.md5sum
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
+}
diff --git a/extra/antiword/Pkgfile b/extra/antiword/Pkgfile
deleted file mode 100644
index 2f500d1e3..000000000
--- a/extra/antiword/Pkgfile
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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
-}