wok-next annotate obmenu/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
rev   line source
al@20513 1 # SliTaz package receipt v2.
paul@1568 2
paul@1568 3 PACKAGE="obmenu"
paul@1568 4 VERSION="1.0"
paul@1568 5 CATEGORY="x-window"
al@20513 6 SHORT_DESC="Openbox menu editor"
paul@1568 7 MAINTAINER="paul@slitaz.org"
pascal@15590 8 LICENSE="GPL2"
al@20513 9 WEB_SITE="http://obmenu.sourceforge.net/index.html"
al@20513 10
paul@1568 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21017 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
paul@1568 13
al@21017 14 BUILD_DEPENDS="python-dev"
pascal@15590 15
al@20513 16 compile_rules() {
al@21017 17 python -B setup.py build &&
al@21020 18 python -B setup.py install --root=$install
paul@1568 19 }
paul@1568 20
al@20513 21 genpkg_rules() {
al@20513 22 copy @std
al@20976 23 DEPENDS="python python-pycairo python-pygobject2 python-pygtk libffi"
al@20513 24 TAGS="openbox"
paul@1568 25 }
paul@1568 26
al@20513 27 post_install() {
al@20513 28 # Enabling configuration file
pascal@18730 29 cp "$1/home/tux/.config/openbox/menu.xml" "$1/root/.config/openbox"
paul@1568 30 }
paul@1568 31
al@20513 32 post_remove() {
al@20513 33 # Removing configuration file
pascal@18730 34 rm "$1/root/.config/openbox/menu.xml"
paul@1568 35 }