wok-4.x annotate libgtkimageview/receipt @ rev 9058

cndrvcups-common: do not compute _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:54:05 2011 +0100 (2011-03-04)
parents af022550edde
children
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@7034 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@5871 8 DEPENDS="gtk+"
gokhlayeh@5871 9 BUILD_DEPENDS="gtk+-dev expat-dev"
gokhlayeh@5871 10 SOURCE="gtkimageview"
gokhlayeh@8869 11 TARBALL="$SOURCE-$VERSION.tar.gz"
gokhlayeh@5871 12 WEB_SITE="http://trac.bjourne.webfactional.com/"
gokhlayeh@8869 13 WGET_URL="http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/$TARBALL?format=raw"
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 }