wok annotate xorg-printproto/receipt @ rev 3659
Hack coreutils compile
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 07 20:54:42 2009 +0200 (2009-07-07) |
parents | |
children | 07ae722ec64e |
rev | line source |
---|---|
rcx@3505 | 1 # SliTaz package receipt. |
rcx@3505 | 2 |
rcx@3505 | 3 PACKAGE="xorg-printproto" |
rcx@3505 | 4 SOURCE="printproto" |
rcx@3505 | 5 VERSION="1.0.3" |
rcx@3505 | 6 CATEGORY="development" |
rcx@3505 | 7 SHORT_DESC="Xorg server devel module." |
rcx@3505 | 8 MAINTAINER="rcx@zoominternet.net" |
rcx@3505 | 9 DEPENDS="" |
rcx@3505 | 10 BUILD_DEPENDS="slitaz-toolchain" |
rcx@3505 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
rcx@3505 | 12 WEB_SITE="http://www.x.org/" |
rcx@3505 | 13 # This proto is missing from the current X11R7.4 |
rcx@3505 | 14 #WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
rcx@3505 | 15 WGET_URL="http://xorg.freedesktop.org/releases/X11R7.3/src/proto/$TARBALL" |
rcx@3505 | 16 |
rcx@3505 | 17 # Rules to configure and make the package. |
rcx@3505 | 18 compile_rules() |
rcx@3505 | 19 { |
rcx@3505 | 20 cd $src |
rcx@3505 | 21 ./configure \ |
rcx@3505 | 22 --prefix=/usr \ |
rcx@3505 | 23 --infodir=/usr/share/info \ |
rcx@3505 | 24 --mandir=/usr/share/man \ |
rcx@3505 | 25 $CONFIGURE_ARGS && |
rcx@3505 | 26 make && make DESTDIR=$PWD/_pkg install |
rcx@3505 | 27 } |
rcx@3505 | 28 |
rcx@3505 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3505 | 30 genpkg_rules() |
rcx@3505 | 31 { |
rcx@3505 | 32 mkdir -p $fs |
rcx@3505 | 33 cp -a $_pkg/usr $fs |
rcx@3505 | 34 } |
rcx@3505 | 35 |