wok-next annotate wbar2/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | da9e80c5d4bb |
children | 9b3461bf373c |
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" |
gokhlayeh@8816 | 9 WEB_SITE="http://code.google.com/p/wbar/" |
al@20503 | 10 |
al@20503 | 11 TARBALL="wbar-$VERSION.tgz" |
gokhlayeh@8816 | 12 WGET_URL="http://wbar.googlecode.com/files/$TARBALL" |
pankso@9763 | 13 |
al@20503 | 14 BUILD_DEPENDS_arm="imlib2-dev gtk+-dev libglade-dev xorg-libX11-dev" |
al@20503 | 15 BUILD_DEPENDS="imlib2-dev gtk+-dev libglade-dev xorg-libX11-dev intltool file" |
pankso@16169 | 16 |
al@20503 | 17 compile_rules() { |
al@20503 | 18 case "$ARCH" in |
al@20503 | 19 arm*) ARCH_ARGS="--disable-wbar-config";; |
al@20503 | 20 esac |
gokhlayeh@8816 | 21 |
al@20503 | 22 ./configure \ |
al@20503 | 23 CXXFLAGS="-Wno-error=literal-suffix" \ |
pankso@16169 | 24 --exec-prefix=/usr \ |
pankso@16379 | 25 $CONFIGURE_ARGS && |
al@20534 | 26 make && |
al@20534 | 27 make install || return 1 |
al@20503 | 28 |
al@20503 | 29 mkdir -p $install/usr/share/applications/ |
al@20503 | 30 mv $install/etc/wbar.d/wbar.desktop $install/usr/share/applications/ |
al@20503 | 31 |
al@20503 | 32 case "$ARCH" in |
al@20503 | 33 arm*) cp $stuff/wbar-arm.cfg $install/etc/wbar.d/wbar.cfg;; |
al@20503 | 34 *) cp $stuff/wbar.cfg $install/etc/wbar.d/wbar.cfg;; |
al@20503 | 35 esac |
gokhlayeh@8816 | 36 } |
gokhlayeh@8816 | 37 |
al@20503 | 38 genpkg_rules() { |
al@20503 | 39 copy @std |
al@20503 | 40 DEPENDS="ttf-dejavu imlib2 gtk+ libglade" |
al@20503 | 41 CONFIG_FILES="/etc/default/wbar/wbar.cfg" |
al@20503 | 42 TAGS="desktop launchbar" |
pankso@9325 | 43 } |