wok annotate libsdl-gfx/receipt @ rev 7388

flam3: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 26 10:58:15 2010 +0100 (2010-11-26)
parents b7884bbe0a6c
children 8c08820e8dfb
rev   line source
pankso@1188 1 # SliTaz package receipt.
pankso@1188 2
pankso@1188 3 PACKAGE="libsdl-gfx"
pankso@1188 4 SOURCE="SDL_gfx"
slaxemulator@6899 5 VERSION="2.0.22"
pankso@1188 6 CATEGORY="x-window"
pankso@1188 7 SHORT_DESC="SDL gfx support."
pankso@1188 8 MAINTAINER="pankso@slitaz.org"
pankso@3425 9 DEPENDS="xorg libsdl"
pankso@3425 10 BUILD_DEPENDS="xorg-dev libsdl-dev"
pankso@1188 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@1188 12 WEB_SITE="http://www.ferzkopp.net/joomla/content/view/19/14/"
pankso@1188 13 WGET_URL="http://www.ferzkopp.net/Software/SDL_gfx-2.0/$TARBALL"
pankso@1188 14
pankso@1188 15 # Rules to configure and make the package.
pankso@1188 16 compile_rules()
pankso@1188 17 {
pankso@1188 18 cd $src
pascal@2476 19 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@2476 20 make &&
pankso@1188 21 make DESTDIR=$PWD/_pkg install
pankso@1188 22 }
pankso@1188 23
pankso@1188 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1188 25 genpkg_rules()
pankso@1188 26 {
pankso@1188 27 mkdir -p $fs/usr/lib
pankso@1188 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@1188 29 }