summaryrefslogtreecommitdiffstats
path: root/extra/xv/Pkgfile
blob: 1b901d9a008e22c6a5ad9d8a3717191316ce52e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Description: Image Viewer
# URL: http://www.trilon.com/xv
# Maintainer: Kevin Monceaux, Kevin at RawFedDogs dot net
# Depends on: libtiff, jasper, libjpeg, libpng, xorg-libx11, xorg-libxcb, xorg-libxau, xorg-libxdmcp, zlib
# Run on: libtiff,jasper,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 \
	http://nutyx.meticul.eu/files/patchs/$name/$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

}