wok annotate libgtkimageview/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents 035a319a4e53
children 0c37136aee2d
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@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 }