wok view gtkam/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (2 weeks ago) |
parents | b5e0b1f0276d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkam"
4 VERSION="1.0"
5 CATEGORY="graphics"
6 TAGS="camera"
7 SHORT_DESC="GTK digital camera access."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPLv2+"
10 WEB_SITE="http://www.gphoto.org/proj/gtkam/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
15 SUGGESTED="gtkam-lang"
16 DEPENDS="atk gtk+ libexif-gtk libgphoto2 libxml2"
17 BUILD_DEPENDS="atk-dev gtk+-dev libexif-gtk-dev libgphoto2-dev libtool libxml2-dev"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/gphoto/files/gtkam/ 2>/dev/null | \
25 sed '/gtkam\/[0-9]/!d;/href=/!d;/#folder/d;s|.*gtkam/||;s|/stat.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 --enable-static=no \
35 --without-bonobo \
36 --without-gnome \
37 --without-gimp \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_folders bin
47 cook_copy_folders images
48 }