summaryrefslogtreecommitdiffstats
path: root/extra/xv/Pkgfile
blob: 5146b6ce97f85eba14c6c68835a5b16867d8eac4 (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:

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

}