From 03c1e1fd4ff6c61ebc1dfc99617de3e7be233afc Mon Sep 17 00:00:00 2001 From: Thierry N Date: Wed, 12 Aug 2009 20:36:30 +0200 Subject: Ajout psutils#1.17-1 --- extra/psutils/.footprint | 53 +++++++++++++++++++++++++++++++++++++++++ extra/psutils/.md5sum | 1 + extra/psutils/Pkgfile | 23 ++++++++++++++++++ extra/psutils/psutils-1.17.diff | 33 +++++++++++++++++++++++++ 4 files changed, 110 insertions(+) create mode 100644 extra/psutils/.footprint create mode 100644 extra/psutils/.md5sum create mode 100755 extra/psutils/Pkgfile create mode 100755 extra/psutils/psutils-1.17.diff (limited to 'extra') diff --git a/extra/psutils/.footprint b/extra/psutils/.footprint new file mode 100644 index 000000000..6dbbb2fcd --- /dev/null +++ b/extra/psutils/.footprint @@ -0,0 +1,53 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/epsffit +-rwxr-xr-x root/root usr/bin/extractres +-rwxr-xr-x root/root usr/bin/fixdlsrps +-rwxr-xr-x root/root usr/bin/fixfmps +-rwxr-xr-x root/root usr/bin/fixmacps +-rwxr-xr-x root/root usr/bin/fixpsditps +-rwxr-xr-x root/root usr/bin/fixpspps +-rwxr-xr-x root/root usr/bin/fixscribeps +-rwxr-xr-x root/root usr/bin/fixtpps +-rwxr-xr-x root/root usr/bin/fixwfwps +-rwxr-xr-x root/root usr/bin/fixwpps +-rwxr-xr-x root/root usr/bin/fixwwps +-rwxr-xr-x root/root usr/bin/getafm +-rwxr-xr-x root/root usr/bin/includeres +-rwxr-xr-x root/root usr/bin/psbook +-rwxr-xr-x root/root usr/bin/psmerge +-rwxr-xr-x root/root usr/bin/psnup +-rwxr-xr-x root/root usr/bin/psresize +-rwxr-xr-x root/root usr/bin/psselect +-rwxr-xr-x root/root usr/bin/pstops +-rwxr-xr-x root/root usr/bin/showchar +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/psutils/ +-rw-r--r-- root/root usr/include/psutils/md68_0.ps +-rw-r--r-- root/root usr/include/psutils/md71_0.ps +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/licenses/ +drwxr-xr-x root/root usr/share/licenses/psutils/ +-rw-r--r-- root/root usr/share/licenses/psutils/LICENSE +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/epsffit.1.gz +-rw-r--r-- root/root usr/share/man/man1/extractres.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixdlsrps.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixfmps.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixmacps.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixpsditps.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixpspps.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixscribeps.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixtpps.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixwfwps.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixwpps.1.gz +-rw-r--r-- root/root usr/share/man/man1/fixwwps.1.gz +-rw-r--r-- root/root usr/share/man/man1/getafm.1.gz +-rw-r--r-- root/root usr/share/man/man1/includeres.1.gz +-rw-r--r-- root/root usr/share/man/man1/psbook.1.gz +-rw-r--r-- root/root usr/share/man/man1/psmerge.1.gz +-rw-r--r-- root/root usr/share/man/man1/psnup.1.gz +-rw-r--r-- root/root usr/share/man/man1/psresize.1.gz +-rw-r--r-- root/root usr/share/man/man1/psselect.1.gz +-rw-r--r-- root/root usr/share/man/man1/pstops.1.gz diff --git a/extra/psutils/.md5sum b/extra/psutils/.md5sum new file mode 100644 index 000000000..f598963b5 --- /dev/null +++ b/extra/psutils/.md5sum @@ -0,0 +1 @@ +b161522f3bd1507655326afa7db4a0ad psutils-1.17.tar.gz diff --git a/extra/psutils/Pkgfile b/extra/psutils/Pkgfile new file mode 100755 index 000000000..c2e000d8d --- /dev/null +++ b/extra/psutils/Pkgfile @@ -0,0 +1,23 @@ +# Description: Un lot d'outils postscript +# URL: http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html +# Maintainer: NuTyX core team +# Packager: fred.galusik at gmail dot com +# Depends on: glibc, ghostscript + +name=psutils +version=1.17 +release=1 +source=(ftp://ftp.enst.fr/pub/unix/a2ps/$name-$version.tar.gz) + +build() { +cd $name + mkdir -p $PKG/usr/{include,share/man,share/licenses/$name} + make -f Makefile.unix BINDIR=$PKG/usr/bin \ + INCLUDEDIR=$PKG/usr/include/psutils \ + PERL=/usr/bin/perl \ + MANDIR=$PKG/usr/share/man/man1 \ + install + + install -m644 LICENSE $PKG/usr/share/licenses/$name/ +} + diff --git a/extra/psutils/psutils-1.17.diff b/extra/psutils/psutils-1.17.diff new file mode 100755 index 000000000..4af32bd7f --- /dev/null +++ b/extra/psutils/psutils-1.17.diff @@ -0,0 +1,33 @@ +diff -u -r --new-file psutils.orig/Makefile.unix psutils/Makefile.unix +--- psutils.orig/Makefile.unix Tue Mar 11 14:52:59 1997 ++++ psutils/Makefile.unix Thu Jan 18 20:53:36 2001 +@@ -19,16 +19,16 @@ + # psnup puts multiple logical pages on one physical page + # psresize scales and moves pages to fit on different paper sizes + +-PAPER=a4 ++PAPER=letter + + # Makefile for PSUtils under Unix + + OS = UNIX + +-BINDIR = /usr/local/bin ++BINDIR = /usr/bin + SCRIPTDIR = $(BINDIR) +-INCLUDEDIR = /usr/local/share/psutils +-PERL = /usr/local/bin/perl ++INCLUDEDIR = /usr/share/psutils ++PERL = /usr/bin/perl + + BINMODE = 0755 + MANMODE = 0644 +@@ -36,7 +36,7 @@ + INSTALL = install -c -m $(BINMODE) + INSTALLMAN = install -c -m $(MANMODE) + MANEXT = 1 +-MANDIR = /usr/local/share/man/man$(MANEXT) ++MANDIR = /usr/man/man$(MANEXT) + + CC = gcc + CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall -- cgit v1.2.3-54-g00ecf