wok-6.x view obconf/receipt @ rev 24692

updated jsoncpp (1.9.2 -> 1.9.5)
author Hans-G?nter Theisgen
date Sat Mar 12 15:46:33 2022 +0100 (2022-03-12)
parents 1c458fa173fb
children
line source
1 # SliTaz package receipt.
3 PACKAGE="obconf"
4 VERSION="2.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Openbox configuration tool"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://openbox.org/wiki/ObConf:About"
11 WGET_URL="http://openbox.org/dist/obconf/$TARBALL"
12 TAGS="openbox"
13 HOST_ARCH="i486 arm"
15 DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \
16 startup-notification slitaz-boot-scripts desktop-file-utils"
17 BUILD_DEPENDS="gtk+-dev libglade-dev openbox-dev gdk-pixbuf-dev \
18 startup-notification-dev xorg-libXft-dev"
20 current_version()
21 {
22 wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 msgfmt -o $src/po/ru.gmo $stuff/ru.po
31 ./configure $CONFIGURE_ARGS &&
32 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
33 make && make install
35 cp -f $stuff/obconf.desktop $install/usr/share/applications
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/obconf
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/obconf/obconf.glade $fs/usr/share/obconf
45 }