wok-next view obconf/receipt @ rev 20494

make-slitaz-icons: in multiple choice for 16px request: if 16px and scalable icons both are available, try to choose 16px one, but not the first caught.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 13 23:17:56 2018 +0200 (2018-03-13)
parents 1c458fa173fb
children d43bf7aae921
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"
14 DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \
15 startup-notification slitaz-boot-scripts desktop-file-utils"
16 BUILD_DEPENDS="gtk+-dev libglade-dev openbox-dev gdk-pixbuf-dev \
17 startup-notification-dev xorg-libXft-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 msgfmt -o $src/po/ru.gmo $stuff/ru.po
24 ./configure $CONFIGURE_ARGS &&
25 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
26 make && make install
28 cp -f $stuff/obconf.desktop $install/usr/share/applications
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/obconf
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/obconf/obconf.glade $fs/usr/share/obconf
38 }