wok annotate xorg-xsetroot/receipt @ rev 25805
created recipe for xfce4-weather-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:24:31 2024 +0100 (7 days ago) |
parents | b4a4a2e9e705 |
children |
rev | line source |
---|---|
pankso@262 | 1 # SliTaz package receipt. |
pankso@262 | 2 |
pankso@262 | 3 PACKAGE="xorg-xsetroot" |
Hans-G?nter@22301 | 4 VERSION="1.1.2" |
pankso@262 | 5 CATEGORY="x-window" |
Hans-G?nter@22301 | 6 SHORT_DESC="A tool to configure X root background color." |
pankso@262 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22301 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22301 | 10 |
pankso@262 | 11 SOURCE="xsetroot" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@262 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
Hans-G?nter@22301 | 14 |
Hans-G?nter@22301 | 15 DEPENDS="xorg-libXcursor xorg-libXmu" |
Hans-G?nter@22301 | 16 BUILD_DEPENDS="xorg-libXcursor-dev xorg-libXmu-dev xorg-xbitmaps" |
Hans-G?nter@22301 | 17 |
pankso@16109 | 18 HOST_ARCH="i486 arm" |
pankso@262 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@262 | 26 # Rules to configure and make the package. |
pankso@262 | 27 compile_rules() |
pankso@262 | 28 { |
pankso@16109 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@22301 | 30 make && |
Hans-G?nter@22301 | 31 make install |
pankso@262 | 32 } |
pankso@262 | 33 |
pankso@262 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@262 | 35 genpkg_rules() |
pankso@262 | 36 { |
pankso@262 | 37 mkdir -p $fs/usr |
Hans-G?nter@22301 | 38 cp -a $install/usr/bin $fs/usr |
pankso@262 | 39 } |