wok-6.x annotate libgtkimageview/receipt @ rev 20426
linld: fix xmm_driver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 13 00:46:30 2018 +0200 (2018-08-13) |
parents | 0c37136aee2d |
children | eeba7ab1dffe |
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" |
pascal@15473 | 8 LICENSE="LGPL2.1" |
gokhlayeh@5871 | 9 SOURCE="gtkimageview" |
gokhlayeh@8869 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
gokhlayeh@5871 | 11 WEB_SITE="http://trac.bjourne.webfactional.com/" |
gokhlayeh@8869 | 12 WGET_URL="http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/$TARBALL?format=raw" |
gokhlayeh@5871 | 13 |
pascal@15473 | 14 DEPENDS="gtk+" |
pascal@15473 | 15 BUILD_DEPENDS="gtk+-dev expat-dev" |
pascal@15473 | 16 |
gokhlayeh@5871 | 17 # Rules to configure and make the package. |
gokhlayeh@5871 | 18 compile_rules() |
gokhlayeh@5871 | 19 { |
gokhlayeh@5871 | 20 cd $src |
gokhlayeh@5871 | 21 ./configure \ |
gokhlayeh@5871 | 22 --prefix=/usr \ |
gokhlayeh@5871 | 23 --infodir=/usr/share/info \ |
gokhlayeh@5871 | 24 --mandir=/usr/share/man \ |
gokhlayeh@5871 | 25 $CONFIGURE_ARGS && |
pascal@15473 | 26 make && make DESTDIR=$DESTDIR install |
gokhlayeh@5871 | 27 } |
gokhlayeh@5871 | 28 |
gokhlayeh@5871 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5871 | 30 genpkg_rules() |
gokhlayeh@5871 | 31 { |
gokhlayeh@5871 | 32 mkdir -p $fs/usr |
pascal@15473 | 33 cp -a $install/usr/lib $fs/usr |
gokhlayeh@5871 | 34 # Remove devel files |
gokhlayeh@5871 | 35 cd $fs/usr/lib |
gokhlayeh@5871 | 36 rm -r libgtkimageview.a libgtkimageview.la pkgconfig/ |
gokhlayeh@5871 | 37 } |