wok-6.x annotate libsdl-gfx/receipt @ rev 10835

lua: improve receipt and build optimisation
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:16:35 2011 +0200 (2011-06-08)
parents 8c08820e8dfb
children 228feba11bf5
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@1188 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@1188 10 WEB_SITE="http://www.ferzkopp.net/joomla/content/view/19/14/"
pankso@1188 11 WGET_URL="http://www.ferzkopp.net/Software/SDL_gfx-2.0/$TARBALL"
pankso@1188 12
pankso@9997 13 DEPENDS="libsdl"
pankso@9997 14 BUILD_DEPENDS="libsdl-dev"
pankso@9997 15
pankso@1188 16 # Rules to configure and make the package.
pankso@1188 17 compile_rules()
pankso@1188 18 {
pankso@1188 19 cd $src
slaxemulator@9408 20 ./configure && make && make install
pankso@1188 21 }
pankso@1188 22
pankso@1188 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1188 24 genpkg_rules()
pankso@1188 25 {
pankso@1188 26 mkdir -p $fs/usr/lib
pankso@1188 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@1188 28 }