wok-6.x annotate libsdl/receipt @ rev 5053

fix typos: libgphoto2
author Rohit Joshi <jozee@slitaz.org>
date Sat Mar 06 18:51:17 2010 +0000 (2010-03-06)
parents e8024c01fc47
children 70dc40504418
rev   line source
pankso@3424 1 # SliTaz package receipt.
pankso@3424 2
pankso@3424 3 PACKAGE="libsdl"
pankso@3424 4 VERSION="1.2.13"
pankso@3424 5 CATEGORY="x-window"
pankso@3424 6 SHORT_DESC="Simple DirectMedia Layer (used by Qemu)."
pankso@3424 7 MAINTAINER="pankso@slitaz.org"
pankso@3424 8 DEPENDS="xorg"
pankso@3424 9 BUILD_DEPENDS="xorg-dev xorg-xextproto"
pankso@3424 10 SOURCE="SDL"
pankso@3424 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@3424 12 WEB_SITE="http://www.libsdl.org/"
pankso@3424 13 WGET_URL="http://www.libsdl.org/release/$TARBALL"
pankso@3424 14
pankso@3424 15 # Rules to configure and make the package.
pankso@3424 16 compile_rules()
pankso@3424 17 {
pankso@3424 18 cd $src
pankso@3424 19 ./configure \
pankso@3424 20 --prefix=/usr \
pankso@3424 21 --infodir=/usr/share/info \
pankso@3424 22 --mandir=/usr/share/man \
pankso@3424 23 $CONFIGURE_ARGS &&
pankso@3424 24 make &&
pankso@3424 25 make DESTDIR=$PWD/_pkg install
pankso@3424 26 }
pankso@3424 27
pankso@3424 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3424 29 genpkg_rules()
pankso@3424 30 {
pankso@3424 31 mkdir -p $fs/usr/lib
pankso@3424 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@3424 33 }
pankso@3424 34
pankso@3424 35 post_install()
pankso@3424 36 {
pankso@3426 37 [ -d "/var/lib/tazpkg/installed/libSDL" ] && rm -rf /var/lib/tazpkg/installed/libSDL
pankso@3424 38 }