wok-current view xorg-rgb/receipt @ rev 25590
Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 24 14:03:59 2023 +0000 (16 months ago) |
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 }