wok-6.x annotate xorg-rgb/receipt @ rev 22822

Add emu8051
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 12:27:36 2020 +0100 (2020-02-06)
parents 814c58f64f83
children 5d79829fa876
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
pankso@20 17 # Rules to configure and make the package.
pankso@20 18 compile_rules()
pankso@20 19 {
Hans-G?nter@22241 20 ./configure \
Hans-G?nter@22241 21 --prefix=/usr \
Hans-G?nter@22241 22 --sysconfdir=/etc \
Hans-G?nter@22241 23 --mandir=/usr/share/man \
Hans-G?nter@22241 24 --localstatedir=/var \
Hans-G?nter@22241 25 $CONFIGURE_ARGS 2>1 | sed '/.*\/root\/missing.*/d' &&
Hans-G?nter@22241 26 make &&
Hans-G?nter@22241 27 make DESTDIR=$DESTDIR install
pankso@20 28 }
pankso@20 29
pankso@20 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@20 31 genpkg_rules()
pankso@20 32 {
pankso@20 33 mkdir -p $fs/usr/share
Hans-G?nter@22241 34
Hans-G?nter@22241 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22241 36 cp -a $install/usr/share/X11 $fs/usr/share
pankso@20 37 }