summaryrefslogtreecommitdiffstats
path: root/extra/xv/Pkgfile
blob: 0785e0d7e61d794676647bda511b83382e1a5240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

}