wok annotate xorg-rgb/receipt @ rev 24793

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