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