wok-6.x view xorg-xsetroot/receipt @ rev 25525

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