wok-next annotate libgtkimageview/receipt @ rev 20333

Up bmpanel2, urxvt, usbip
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 15 16:27:09 2017 +0200 (2017-11-15)
parents 8f447cf2eee5
children d43bf7aae921
rev   line source
pascal@20117 1 # SliTaz package receipt v2.
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 BUILD_DEPENDS="gtk+-dev expat-dev"
pascal@20117 15 SPLIT="libgtkimageview libgtkimageview-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 ./configure \
gokhlayeh@5871 21 --prefix=/usr \
gokhlayeh@5871 22 --infodir=/usr/share/info \
gokhlayeh@5871 23 --mandir=/usr/share/man \
gokhlayeh@5871 24 $CONFIGURE_ARGS &&
pascal@15473 25 make && make DESTDIR=$DESTDIR install
gokhlayeh@5871 26 }
gokhlayeh@5871 27
gokhlayeh@5871 28 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5871 29 genpkg_rules()
gokhlayeh@5871 30 {
pascal@20117 31 case $PACKAGE in
pascal@20117 32 libgtkimageview)
pascal@20117 33 DEPENDS="gtk+"
pascal@20117 34 mkdir -p $fs/usr
pascal@20117 35 cp -a $install/usr/lib $fs/usr
pascal@20117 36 # Remove devel files
pascal@20117 37 cd $fs/usr/lib
pascal@20117 38 rm -r libgtkimageview.a libgtkimageview.la pkgconfig/
pascal@20117 39 ;;
pascal@20117 40 libgtkimageview-dev)
pascal@20117 41 CAT="development|Simple image viewer widget for GTK devel files."
pascal@20117 42 DEPENDS="pkg-config"
pascal@20117 43 mkdir -p $fs/usr
pascal@20117 44 cp -a $install/usr/include $fs/usr
pascal@20117 45 cp -a $install/usr/lib $fs/usr
pascal@20117 46 # Remove libraries files
pascal@20117 47 cd $fs/usr/lib
pascal@20117 48 rm -r *.so*
pascal@20117 49 ;;
pascal@20117 50 esac
gokhlayeh@5871 51 }