wok-6.x view xorg-rgb/receipt @ rev 2552

apache-dev, apache-doc: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 11:20:53 2009 +0000 (2009-03-26)
parents 075898aaed14
children 8192b7f227da
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-rgb"
4 VERSION="1.0.1"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 RGB colors definitions."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="pkg-config xorg-xproto"
9 SOURCE="rgb"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --sysconfdir=/etc \
19 --mandir=/usr/share/man --localstatedir=/var \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/X11 $fs/usr/share
31 strip -s $fs/usr/bin/*
33 # To be compatible with Xvesa from XFree86.
34 #
35 #mkdir -p $fs/usr/X11R6/lib/X11
36 #cd $fs/usr/X11R6/lib/X11
37 #ln -s /usr/share/X11/rgb.txt rgb.txt
38 }