wok-undigest rev 67

Add sdl, sdl-dev
author Rohit Joshi <jozee@slitaz.org>
date Fri Apr 16 13:21:25 2010 -0400 (2010-04-16)
parents 1b5d59151ec7
children 2822c1019668
files sdl-dev/receipt sdl/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sdl-dev/receipt	Fri Apr 16 13:21:25 2010 -0400
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sdl-dev"
     1.7 +VERSION="1.2.14"
     1.8 +CATEGORY="development"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="sdl devel files"
    1.11 +WEB_SITE="http://www.libsdl.org"
    1.12 +WANTED="sdl"
    1.13 +SOURCE="SDL"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.19 +	_pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg"
    1.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/include $fs/usr
    1.23 +	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/sdl/receipt	Fri Apr 16 13:21:25 2010 -0400
     2.3 @@ -0,0 +1,38 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="sdl"
     2.7 +VERSION="1.2.14"
     2.8 +SOURCE="SDL"
     2.9 +CATEGORY="multimedia"
    2.10 +MAINTAINER="jozee@slitaz.org"
    2.11 +SHORT_DESC="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
    2.12 +DEPENDS="glibc-base xorg-libXext xorg-libXrender xorg-libX11"
    2.13 +BUILD_DEPENDS="alsa-lib mesa xorg-libXext-dev  xorg-libXrender-dev  xorg-libX11-dev "
    2.14 +WEB_SITE="http://www.libsdl.org"
    2.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.16 +WGET_URL="$WEB_SITE/release/$TARBALL"
    2.17 +
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +
    2.21 +compile_rules() {
    2.22 +  cd $src
    2.23 +  ./configure --prefix=/usr \
    2.24 +			  --disable-nasm \
    2.25 +			  --enable-alsa \
    2.26 +			  --with-x \
    2.27 +			  --disable-esd \
    2.28 +			  --disable-rpath \
    2.29 +			  $CONFIGURE_ARGS &&
    2.30 +  make &&
    2.31 +  make DESTDIR=$PWD/_pkg install
    2.32 +}
    2.33 +	
    2.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.35 +genpkg_rules()
    2.36 +{
    2.37 +	mkdir -p $fs/usr/lib 
    2.38 +	cp -a $_pkg/usr/bin $fs/usr
    2.39 +	cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
    2.40 +	
    2.41 +}