wok annotate libgtkimageview/receipt @ rev 6843

Added openjpeg. Needed for mupdf.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 20 01:21:41 2010 +0000 (2010-10-20)
parents
children af022550edde
rev   line source
gokhlayeh@5871 1 # SliTaz package receipt.
gokhlayeh@5871 2
gokhlayeh@5871 3 PACKAGE="libgtkimageview"
gokhlayeh@5871 4 VERSION="1.6.4"
gokhlayeh@5871 5 CATEGORY="system-tools"
gokhlayeh@5871 6 SHORT_DESC="Simple image viewer widget for GTK."
gokhlayeh@5871 7 MAINTAINER="gokhlayeh@mailoo.org"
gokhlayeh@5871 8 DEPENDS="gtk+"
gokhlayeh@5871 9 BUILD_DEPENDS="gtk+-dev expat-dev"
gokhlayeh@5871 10 SOURCE="gtkimageview"
gokhlayeh@5871 11 TARBALL="$SOURCE-$VERSION.tar.gz?format=raw"
gokhlayeh@5871 12 WEB_SITE="http://trac.bjourne.webfactional.com/"
gokhlayeh@5871 13 WGET_URL="http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/$TARBALL"
gokhlayeh@5871 14
gokhlayeh@5871 15 # Rules to configure and make the package.
gokhlayeh@5871 16 compile_rules()
gokhlayeh@5871 17 {
gokhlayeh@5871 18 cd $src
gokhlayeh@5871 19 ./configure \
gokhlayeh@5871 20 --prefix=/usr \
gokhlayeh@5871 21 --infodir=/usr/share/info \
gokhlayeh@5871 22 --mandir=/usr/share/man \
gokhlayeh@5871 23 $CONFIGURE_ARGS &&
gokhlayeh@5871 24 make && make DESTDIR=$PWD/_pkg install
gokhlayeh@5871 25 }
gokhlayeh@5871 26
gokhlayeh@5871 27 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5871 28 genpkg_rules()
gokhlayeh@5871 29 {
gokhlayeh@5871 30 mkdir -p $fs/usr
gokhlayeh@5871 31 cp -a $_pkg/usr/lib $fs/usr
gokhlayeh@5871 32 # Remove devel files
gokhlayeh@5871 33 cd $fs/usr/lib
gokhlayeh@5871 34 rm -r libgtkimageview.a libgtkimageview.la pkgconfig/
gokhlayeh@5871 35 }