wok view xorg-libXp/receipt @ rev 4550

fix: pkg rules
author Allan Pinto <allan316@gmail.com>
date Fri Dec 04 17:16:37 2009 +0000 (2009-12-04)
parents 78640377ce73
children c514cc4854d8
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXp"
4 SOURCE="libXp"
5 VERSION="1.0.0"
6 CATEGORY="development"
7 SHORT_DESC="Provides public APIs to allow client applications to render to non-display devices."
8 MAINTAINER="rcx@zoominternet.net"
9 DEPENDS="glibc-base xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
10 BUILD_DEPENDS="slitaz-toolchain pkg-config xorg-xproto xorg-kbproto \
11 xorg-libXdmcp-dev xorg-libX11-dev xorg-libXau-dev xorg-libXext-dev \
12 xorg-xextproto xorg-printproto"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.x.org/"
15 # This lib is missing from the current X11R7.4
16 #WGET_URL="$XORG_MIRROR/lib/$TARBALL"
17 WGET_URL="http://xorg.freedesktop.org/releases/X11R7.3/src/lib/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }