wok-next view libgtkimageview/receipt @ rev 20279

samba: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 12:57:30 2017 +0100 (2017-11-08)
parents 8f447cf2eee5
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgtkimageview"
4 VERSION="1.6.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Simple image viewer widget for GTK."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="LGPL2.1"
9 SOURCE="gtkimageview"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://trac.bjourne.webfactional.com/"
12 WGET_URL="http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/$TARBALL?format=raw"
14 BUILD_DEPENDS="gtk+-dev expat-dev"
15 SPLIT="libgtkimageview libgtkimageview-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 libgtkimageview)
33 DEPENDS="gtk+"
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 # Remove devel files
37 cd $fs/usr/lib
38 rm -r libgtkimageview.a libgtkimageview.la pkgconfig/
39 ;;
40 libgtkimageview-dev)
41 CAT="development|Simple image viewer widget for GTK devel files."
42 DEPENDS="pkg-config"
43 mkdir -p $fs/usr
44 cp -a $install/usr/include $fs/usr
45 cp -a $install/usr/lib $fs/usr
46 # Remove libraries files
47 cd $fs/usr/lib
48 rm -r *.so*
49 ;;
50 esac
51 }