wok-next annotate wbar2/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 8e1b2a143eb3 |
children | d5aab818505e |
rev | line source |
---|---|
al@20503 | 1 # SliTaz package receipt v2. |
gokhlayeh@8816 | 2 |
gokhlayeh@8816 | 3 PACKAGE="wbar2" |
erjo@15674 | 4 VERSION="2.3.4" |
gokhlayeh@8816 | 5 CATEGORY="system-tools" |
al@20503 | 6 SHORT_DESC="Quick launch bar" |
pankso@16379 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL3" |
al@20949 | 9 WEB_SITE="https://github.com/rodolf0/wbar" |
al@20885 | 10 REPOLOGY="wbar" |
al@20503 | 11 |
al@20503 | 12 TARBALL="wbar-$VERSION.tgz" |
gokhlayeh@8816 | 13 WGET_URL="http://wbar.googlecode.com/files/$TARBALL" |
pankso@9763 | 14 |
al@21017 | 15 BUILD_DEPENDS="imlib2-dev gtk2-dev libglade-dev xorg-libX11-dev intltool file" |
pankso@16169 | 16 |
al@20503 | 17 compile_rules() { |
al@20503 | 18 ./configure \ |
al@20503 | 19 CXXFLAGS="-Wno-error=literal-suffix" \ |
pankso@16169 | 20 --exec-prefix=/usr \ |
pankso@16379 | 21 $CONFIGURE_ARGS && |
al@20534 | 22 make && |
al@20534 | 23 make install || return 1 |
al@20503 | 24 |
al@20503 | 25 mkdir -p $install/usr/share/applications/ |
al@20503 | 26 mv $install/etc/wbar.d/wbar.desktop $install/usr/share/applications/ |
al@20503 | 27 |
al@21017 | 28 cp $stuff/wbar.cfg $install/etc/wbar.d/wbar.cfg |
gokhlayeh@8816 | 29 } |
gokhlayeh@8816 | 30 |
al@20503 | 31 genpkg_rules() { |
al@20503 | 32 copy @std |
al@21017 | 33 DEPENDS="ttf-dejavu imlib2 gtk2 libglade" |
al@20503 | 34 CONFIG_FILES="/etc/default/wbar/wbar.cfg" |
al@20503 | 35 TAGS="desktop launchbar" |
pankso@9325 | 36 } |