wok view xorg-gccmakedep/receipt @ rev 4154

Fix: coreutils-operations dont remove cp/rm in post_install, we need them to install
author Christophe Lincoln <pankso@slitaz.org>
date Mon Sep 21 21:04:25 2009 +0200 (2009-09-21)
parents
children 07ae722ec64e
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-gccmakedep"
4 VERSION="1.0.2"
5 CATEGORY="x-window"
6 SHORT_DESC="X gccmakedep utility."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="xorg-dev-proto"
9 SOURCE="gccmakedep"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/util/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --mandir=/usr/share/man \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 chmod +x $PWD/_pkg/usr/bin/*
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }