wok view gqview/receipt @ rev 20169
Add linux-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 16 11:15:42 2018 +0100 (2018-01-16) |
parents | d1c17bd2c2bc |
children | 33b800b4871e |
line source
1 # SliTaz package receipt.
3 PACKAGE="gqview"
4 VERSION="2.0.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Images viewer and manager using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gqview.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/pixmaps $fs/usr/share
33 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
34 }