# HG changeset patch # User necrophcodr # Date 1410339177 -7200 # Node ID 22e3b60d42487e11b52a5312a320f5fcdbbade7f # Parent 5a199adea305bfc0351b590d76e3da5cbc4e80fe Add libsdl2-net and devel. diff -r 5a199adea305 -r 22e3b60d4248 libsdl2-net-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl2-net-dev/receipt Wed Sep 10 10:52:57 2014 +0200 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="libsdl2-net-dev" +VERSION="2.0.0" +CATEGORY="development" +SHORT_DESC="SDL2 net lib devel files." +MAINTAINER="tcg.thegamer@gmail.com" +LICENSE="LGPL2.1" +WANTED="libsdl2-net" +SOURCE="SDL_net" +WEB_SITE="http://www.libsdl.org/projects/SDL_net/" +HOST_ARCH="i486 arm" + +DEPENDS="libsdl2-net" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.a $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r 5a199adea305 -r 22e3b60d4248 libsdl2-net/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl2-net/receipt Wed Sep 10 10:52:57 2014 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libsdl2-net" +SOURCE="SDL2_net" +VERSION="2.0.0" +CATEGORY="x-window" +SHORT_DESC="SDL2 net support." +MAINTAINER="tcg.thegamer@gmail.com" +LICENSE="LGPL2.1" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.libsdl.org/projects/SDL_net/" +WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL" +HOST_ARCH="i486 arm" + +DEPENDS="libsdl2" +BUILD_DEPENDS="libsdl2-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}