wok annotate obconf/receipt @ rev 19080

Up tazpanel (591)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Apr 28 23:50:34 2016 +0200 (2016-04-28)
parents 8f02a4cc54c4
children 1c458fa173fb
rev   line source
pankso@357 1 # SliTaz package receipt.
pankso@357 2
pankso@357 3 PACKAGE="obconf"
erjo@15746 4 VERSION="2.0.4"
pankso@357 5 CATEGORY="x-window"
al@18570 6 SHORT_DESC="Openbox configuration tool"
pankso@357 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@15746 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18570 10 WEB_SITE="http://openbox.org/wiki/ObConf:About"
erjo@15746 11 WGET_URL="http://openbox.org/dist/obconf/$TARBALL"
jozee@4970 12 TAGS="openbox"
pankso@16269 13 HOST_ARCH="i486 arm"
pankso@357 14
pankso@9856 15 DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \
pascal@15901 16 startup-notification slitaz-boot-scripts desktop-file-utils"
pankso@16269 17 BUILD_DEPENDS="gtk+-dev libglade-dev openbox-dev gdk-pixbuf-dev \
pankso@16269 18 startup-notification-dev"
pankso@9856 19
pankso@357 20 # Rules to configure and make the package.
pankso@357 21 compile_rules()
pankso@357 22 {
al@19014 23 msgfmt -o $src/po/ru.gmo $stuff/ru.po
al@18570 24
erjo@15746 25 ./configure $CONFIGURE_ARGS &&
pascal@1566 26 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
pankso@9856 27 make && make install
al@18570 28
al@18570 29 cp -f $stuff/obconf.desktop $install/usr/share/applications
pankso@357 30 }
pankso@357 31
pankso@357 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@357 33 genpkg_rules()
pankso@357 34 {
al@18570 35 mkdir -p $fs/usr/share/obconf
al@17261 36
pascal@15000 37 cp -a $install/usr/bin $fs/usr
al@18570 38 cp -a $install/usr/share/obconf/obconf.glade $fs/usr/share/obconf
pankso@357 39 }