# HG changeset patch # User Christophe Lincoln # Date 1244887853 -7200 # Node ID b2a0b2a10a64127d9712a3a655c8a77729717765 # Parent dda533844d18c743374bcff3b36738176f898929 Ren: libSDL -> libsdl (result = rebuild all SDL games to remove libiconv dep) diff -r dda533844d18 -r b2a0b2a10a64 libSDL-dev/receipt --- a/libSDL-dev/receipt Sat Jun 13 12:07:45 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libSDL-dev" -VERSION="1.2.13" -CATEGORY="development" -SHORT_DESC="Simple DirectMedia Layer devel files." -MAINTAINER="pankso@slitaz.org" -DEPENDS="xorg-dev" -SOURCE="SDL" -WANTED="libSDL" -WEB_SITE="http://www.libsdl.org/" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/include $fs/usr - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib - cp -a $_pkg/usr/share/aclocal $fs/usr/share -} diff -r dda533844d18 -r b2a0b2a10a64 libSDL/receipt --- a/libSDL/receipt Sat Jun 13 12:07:45 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libSDL" -VERSION="1.2.13" -CATEGORY="x-window" -SHORT_DESC="Simple DirectMedia Layer (used by Qemu)." -MAINTAINER="pankso@slitaz.org" -DEPENDS="xorg" -SOURCE="SDL" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.libsdl.org/" -WGET_URL="http://www.libsdl.org/release/$TARBALL" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib -} diff -r dda533844d18 -r b2a0b2a10a64 libsdl-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl-dev/receipt Sat Jun 13 12:10:53 2009 +0200 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="libsdl-dev" +VERSION="1.2.13" +CATEGORY="development" +SHORT_DESC="Simple DirectMedia Layer devel files." +MAINTAINER="pankso@slitaz.org" +DEPENDS="xorg-dev" +SOURCE="SDL" +WANTED="libsdl" +WEB_SITE="http://www.libsdl.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/share/aclocal $fs/usr/share +} diff -r dda533844d18 -r b2a0b2a10a64 libsdl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl/receipt Sat Jun 13 12:10:53 2009 +0200 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="libsdl" +VERSION="1.2.13" +CATEGORY="x-window" +SHORT_DESC="Simple DirectMedia Layer (used by Qemu)." +MAINTAINER="pankso@slitaz.org" +DEPENDS="xorg" +BUILD_DEPENDS="xorg-dev xorg-xextproto" +SOURCE="SDL" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.libsdl.org/" +WGET_URL="http://www.libsdl.org/release/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} + +post_install() +{ + [ -d "/var/lib/tazpkg/installed/libSDL" ] && tazpkg remove libSDL +}