wok-current view xorg-rgb/receipt @ rev 24324
updated arp-scan (1.9.5 -> 1.9.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 09:24:22 2022 +0100 (2022-01-27) |
parents | d2c0010dbfe6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-rgb"
4 VERSION="1.0.6"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 RGB colors definitions."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="rgb"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 BUILD_DEPENDS="pkg-config xorg-xproto"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --mandir=/usr/share/man \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS 2>1 | sed '/.*\/root\/missing.*/d' &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share/X11 $fs/usr/share
43 }