wok-current rev 3424
Ren: libSDL -> libsdl (result = rebuild all SDL games to remove libiconv dep)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 13 12:10:53 2009 +0200 (2009-06-13) |
parents | dda533844d18 |
children | e8024c01fc47 |
files | libSDL-dev/receipt libSDL/receipt libsdl-dev/receipt libsdl/receipt |
line diff
1.1 --- a/libSDL-dev/receipt Sat Jun 13 12:07:45 2009 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,23 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="libSDL-dev" 1.7 -VERSION="1.2.13" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Simple DirectMedia Layer devel files." 1.10 -MAINTAINER="pankso@slitaz.org" 1.11 -DEPENDS="xorg-dev" 1.12 -SOURCE="SDL" 1.13 -WANTED="libSDL" 1.14 -WEB_SITE="http://www.libsdl.org/" 1.15 - 1.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 -genpkg_rules() 1.18 -{ 1.19 - mkdir -p $fs/usr/lib $fs/usr/share 1.20 - _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 1.21 - cp -a $_pkg/usr/bin $fs/usr 1.22 - cp -a $_pkg/usr/include $fs/usr 1.23 - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.24 - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.25 - cp -a $_pkg/usr/share/aclocal $fs/usr/share 1.26 -}
2.1 --- a/libSDL/receipt Sat Jun 13 12:07:45 2009 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,32 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="libSDL" 2.7 -VERSION="1.2.13" 2.8 -CATEGORY="x-window" 2.9 -SHORT_DESC="Simple DirectMedia Layer (used by Qemu)." 2.10 -MAINTAINER="pankso@slitaz.org" 2.11 -DEPENDS="xorg" 2.12 -SOURCE="SDL" 2.13 -TARBALL="$SOURCE-$VERSION.tar.gz" 2.14 -WEB_SITE="http://www.libsdl.org/" 2.15 -WGET_URL="http://www.libsdl.org/release/$TARBALL" 2.16 - 2.17 -# Rules to configure and make the package. 2.18 -compile_rules() 2.19 -{ 2.20 - cd $src 2.21 - ./configure \ 2.22 - --prefix=/usr \ 2.23 - --infodir=/usr/share/info \ 2.24 - --mandir=/usr/share/man \ 2.25 - $CONFIGURE_ARGS && 2.26 - make && 2.27 - make DESTDIR=$PWD/_pkg install 2.28 -} 2.29 - 2.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 -genpkg_rules() 2.32 -{ 2.33 - mkdir -p $fs/usr/lib 2.34 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.35 -}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/libsdl-dev/receipt Sat Jun 13 12:10:53 2009 +0200 3.3 @@ -0,0 +1,23 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="libsdl-dev" 3.7 +VERSION="1.2.13" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="Simple DirectMedia Layer devel files." 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +DEPENDS="xorg-dev" 3.12 +SOURCE="SDL" 3.13 +WANTED="libsdl" 3.14 +WEB_SITE="http://www.libsdl.org/" 3.15 + 3.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.17 +genpkg_rules() 3.18 +{ 3.19 + mkdir -p $fs/usr/lib $fs/usr/share 3.20 + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 3.21 + cp -a $_pkg/usr/bin $fs/usr 3.22 + cp -a $_pkg/usr/include $fs/usr 3.23 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 3.24 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 3.25 + cp -a $_pkg/usr/share/aclocal $fs/usr/share 3.26 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/libsdl/receipt Sat Jun 13 12:10:53 2009 +0200 4.3 @@ -0,0 +1,38 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="libsdl" 4.7 +VERSION="1.2.13" 4.8 +CATEGORY="x-window" 4.9 +SHORT_DESC="Simple DirectMedia Layer (used by Qemu)." 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +DEPENDS="xorg" 4.12 +BUILD_DEPENDS="xorg-dev xorg-xextproto" 4.13 +SOURCE="SDL" 4.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 4.15 +WEB_SITE="http://www.libsdl.org/" 4.16 +WGET_URL="http://www.libsdl.org/release/$TARBALL" 4.17 + 4.18 +# Rules to configure and make the package. 4.19 +compile_rules() 4.20 +{ 4.21 + cd $src 4.22 + ./configure \ 4.23 + --prefix=/usr \ 4.24 + --infodir=/usr/share/info \ 4.25 + --mandir=/usr/share/man \ 4.26 + $CONFIGURE_ARGS && 4.27 + make && 4.28 + make DESTDIR=$PWD/_pkg install 4.29 +} 4.30 + 4.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.32 +genpkg_rules() 4.33 +{ 4.34 + mkdir -p $fs/usr/lib 4.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 4.36 +} 4.37 + 4.38 +post_install() 4.39 +{ 4.40 + [ -d "/var/lib/tazpkg/installed/libSDL" ] && tazpkg remove libSDL 4.41 +}