summaryrefslogtreecommitdiffstats
path: root/extra/xv/Pkgfile
blob: 8f80c9d75f045a6b162d295c9439b35f4662201a (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
# 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

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

}