wok-next annotate xorg-printproto/receipt @ rev 9785
gen-init-cpio: fix build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 12 15:15:03 2011 +0200 (2011-05-12) |
parents | 8c2f10d7ddee |
children | a09e9d64e4c9 |
rev | line source |
---|---|
rcx@3505 | 1 # SliTaz package receipt. |
rcx@3505 | 2 |
rcx@3505 | 3 PACKAGE="xorg-printproto" |
rcx@3505 | 4 SOURCE="printproto" |
slaxemulator@8417 | 5 VERSION="1.0.5" |
rcx@3505 | 6 CATEGORY="development" |
rcx@3505 | 7 SHORT_DESC="Xorg server devel module." |
rcx@3505 | 8 MAINTAINER="rcx@zoominternet.net" |
slaxemulator@8421 | 9 DEPENDS="xorg-util-macros" |
slaxemulator@8421 | 10 BUILD_DEPENDS="xorg-util-macros" |
rcx@3505 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
rcx@3505 | 12 WEB_SITE="http://www.x.org/" |
gokhlayeh@6993 | 13 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
rcx@3505 | 14 |
rcx@3505 | 15 # Rules to configure and make the package. |
rcx@3505 | 16 compile_rules() |
rcx@3505 | 17 { |
rcx@3505 | 18 cd $src |
rcx@3505 | 19 ./configure \ |
rcx@3505 | 20 --prefix=/usr \ |
rcx@3505 | 21 --infodir=/usr/share/info \ |
rcx@3505 | 22 --mandir=/usr/share/man \ |
rcx@3505 | 23 $CONFIGURE_ARGS && |
rcx@3505 | 24 make && make DESTDIR=$PWD/_pkg install |
rcx@3505 | 25 } |
rcx@3505 | 26 |
rcx@3505 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3505 | 28 genpkg_rules() |
rcx@3505 | 29 { |
rcx@3505 | 30 mkdir -p $fs |
rcx@3505 | 31 cp -a $_pkg/usr $fs |
rcx@3505 | 32 } |
rcx@3505 | 33 |