wok-4.x annotate xorg-makedepend/receipt @ rev 10659

erlang: fix wrong bdep
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 27 07:31:03 2011 +0200 (2011-05-27)
parents
children
rev   line source
gokhlayeh@8080 1 # SliTaz package receipt.
gokhlayeh@8080 2
gokhlayeh@8080 3 PACKAGE="xorg-makedepend"
gokhlayeh@8080 4 VERSION="1.0.3"
gokhlayeh@8080 5 CATEGORY="x-window"
gokhlayeh@8080 6 SHORT_DESC="X makedepend utility."
gokhlayeh@8080 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@8080 8 BUILD_DEPENDS="xorg-xproto"
gokhlayeh@8080 9 SOURCE="makedepend"
gokhlayeh@8080 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
gokhlayeh@8080 11 WEB_SITE="http://www.x.org/"
gokhlayeh@8080 12 WGET_URL="$XORG_MIRROR/util/$TARBALL"
gokhlayeh@8080 13
gokhlayeh@8080 14 # Rules to configure and make the package.
gokhlayeh@8080 15 compile_rules()
gokhlayeh@8080 16 {
gokhlayeh@8080 17 cd $src
gokhlayeh@8080 18 ./configure --prefix=/usr --mandir=/usr/share/man \
gokhlayeh@8080 19 $CONFIGURE_ARGS
gokhlayeh@8080 20 make
gokhlayeh@8080 21 make DESTDIR=$PWD/_pkg install
gokhlayeh@8080 22 chmod +x $PWD/_pkg/usr/bin/*
gokhlayeh@8080 23 }
gokhlayeh@8080 24
gokhlayeh@8080 25 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8080 26 genpkg_rules()
gokhlayeh@8080 27 {
gokhlayeh@8080 28 mkdir -p $fs/usr
gokhlayeh@8080 29 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@8080 30 }