wok-next view obconf/receipt @ rev 19401

memtest: DOS shutdown (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 13:03:50 2016 +0200 (2016-09-03)
parents 8f02a4cc54c4
children 1c458fa173fb
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"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 msgfmt -o $src/po/ru.gmo $stuff/ru.po
25 ./configure $CONFIGURE_ARGS &&
26 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
27 make && make install
29 cp -f $stuff/obconf.desktop $install/usr/share/applications
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/obconf
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/obconf/obconf.glade $fs/usr/share/obconf
39 }