summaryrefslogtreecommitdiffstats
path: root/extra/xv/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-07-15 23:17:12 +0200
committertnut <thierryn1 at hispeed dot ch>2010-07-15 23:17:12 +0200
commitd8264ced48c8bca60647ba2d0841a492a850c519 (patch)
treee91cfc274491e76c633b2e2f51f97c7dca897cc4 /extra/xv/Pkgfile
parenta5e9a7afadbe4c9cf4e656361610df18fd4705aa (diff)
downloadnutyx-extra-d8264ced48c8bca60647ba2d0841a492a850c519.tar.gz
nutyx-extra-d8264ced48c8bca60647ba2d0841a492a850c519.tar.bz2
nutyx-extra-d8264ced48c8bca60647ba2d0841a492a850c519.tar.xz
nutyx-extra-d8264ced48c8bca60647ba2d0841a492a850c519.zip
ajout de xv#3.10a-1
Diffstat (limited to 'extra/xv/Pkgfile')
-rw-r--r--extra/xv/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/xv/Pkgfile b/extra/xv/Pkgfile
new file mode 100644
index 000000000..0785e0d7e
--- /dev/null
+++ b/extra/xv/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Image Viewer
+# URL: http://www.trilon.com/xv
+# Maintainer: Kevin Monceaux, Kevin at RawFedDogs dot net
+# Depends on: libtiff, libjasper, libjpeg, libpng, xorg-libx11, xorg-libxcb, xorg-libxau, xorg-libxdmcp, zlib
+
+name=xv
+version=3.10a
+release=2
+source=(ftp://ftp.trilon.com/pub/xv/${name}-${version}.tar.gz\
+ http://downloads.sourceforge.net/png-mng/$name-$version-jumbo-patches-20070520.tar.gz \
+ $name-$version-Makefile.diff)
+
+build() {
+ cd $name-$version
+ patch -p1 < $SRC/$name-$version-jumbo-fix-enh-patch-20070520.txt
+ make JP2KDIR=/usr/lib
+ mkdir -p $PKG/usr/{bin,lib,share/man/man1}
+
+ make DESTDIR=$PKG PREFIX=/usr install
+
+ rm $PKG/usr/share/doc/xv/README.jumbo
+
+}