wok annotate lxappearance-obconf/receipt @ rev 25545
Add pom1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 15 16:15:09 2023 +0000 (20 months ago) |
parents | 346038d5909f |
children |
rev | line source |
---|---|
pankso@12468 | 1 # SliTaz package receipt. |
pankso@12468 | 2 |
pankso@12468 | 3 PACKAGE="lxappearance-obconf" |
Hans-G?nter@21390 | 4 VERSION="0.2.3" |
pankso@12468 | 5 CATEGORY="x-window" |
Hans-G?nter@21390 | 6 TAGS="LXDE" |
Hans-G?nter@21390 | 7 SHORT_DESC="LXDE GTK+ theme switcher (plugin)." |
pankso@12468 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@21390 | 10 WEB_SITE="https://lxde.org/" |
Hans-G?nter@21390 | 11 |
al@17988 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@16261 | 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
Hans-G?nter@21390 | 14 |
Hans-G?nter@21390 | 15 DEPENDS="lxappearance openbox" |
Hans-G?nter@21390 | 16 BUILD_DEPENDS="expat-dev fontconfig-dev glib-dev gtk+-dev \ |
Hans-G?nter@21390 | 17 libxcb-dev libxml2-dev lxappearance-dev openbox-dev \ |
Hans-G?nter@21390 | 18 util-linux-uuid-dev xorg-libSM-dev xorg-libXft-dev \ |
Hans-G?nter@21390 | 19 xorg-libXinerama-dev xorg-libXrandr-dev" |
Hans-G?nter@21390 | 20 |
pankso@16261 | 21 HOST_ARCH="i486 arm" |
pankso@12468 | 22 |
pascal@24071 | 23 current_version() |
pascal@24071 | 24 { |
pascal@24071 | 25 wget -O - https://sourceforge.net/projects/lxde/files/LXAppearance%20Obconf/ 2>/dev/null | \ |
pascal@24071 | 26 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 27 } |
pascal@24071 | 28 |
pankso@12468 | 29 # Rules to configure and make the package. |
pankso@12468 | 30 compile_rules() |
pankso@12468 | 31 { |
Hans-G?nter@21390 | 32 ./configure \ |
Hans-G?nter@21390 | 33 --sysconfdir=/etc \ |
pankso@12468 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@21390 | 35 make -j 1 && |
Hans-G?nter@21390 | 36 make install |
pankso@12468 | 37 } |
pankso@12468 | 38 |
pankso@12468 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12468 | 40 genpkg_rules() |
pankso@12468 | 41 { |
pankso@12468 | 42 mkdir -p $fs/usr/share |
Hans-G?nter@21390 | 43 |
Hans-G?nter@21390 | 44 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@21390 | 45 cp -a $install/usr/share/lxappearance $fs/usr/share |
Hans-G?nter@21390 | 46 |
al@17988 | 47 rm -f $fs/usr/lib/lxappearance/plugins/*.*a |
pankso@12468 | 48 } |