wok-stable annotate xorg-imake/receipt @ rev 7987

Fix patchs for make
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 23:42:01 2011 +0100 (2011-01-17)
parents d40c51606c0f
children a512bd9350d3
rev   line source
pascal@355 1 # SliTaz package receipt.
pascal@355 2
pascal@355 3 PACKAGE="xorg-imake"
gokhlayeh@6993 4 VERSION="1.0.3"
pascal@355 5 CATEGORY="x-window"
pascal@355 6 SHORT_DESC="X imake utility."
pascal@355 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@355 8 BUILD_DEPENDS="xorg-dev-proto"
pascal@355 9 SOURCE="imake"
gokhlayeh@6993 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@355 11 WEB_SITE="http://www.x.org/"
pascal@355 12 WGET_URL="$XORG_MIRROR/util/$TARBALL"
pascal@355 13
pascal@355 14 # Rules to configure and make the package.
pascal@355 15 compile_rules()
pascal@355 16 {
pascal@355 17 cd $src
pascal@355 18 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@355 19 $CONFIGURE_ARGS
pascal@355 20 make
pascal@355 21 make DESTDIR=$PWD/_pkg install
pascal@355 22 chmod +x $PWD/_pkg/usr/bin/*
pascal@355 23 }
pascal@355 24
pascal@355 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@355 26 genpkg_rules()
pascal@355 27 {
pascal@355 28 mkdir -p $fs/usr
pascal@355 29 cp -a $_pkg/usr/bin $fs/usr
pascal@355 30 }