summaryrefslogtreecommitdiffstats
path: root/extra/xv/Pkgfile
diff options
context:
space:
mode:
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
+
+}