wok diff libsdl2-ttf/receipt @ rev 20134

linux: update modules.list
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 28 22:10:24 2017 +0200 (2017-10-28)
parents
children 21b978d46460
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libsdl2-ttf/receipt	Sat Oct 28 22:10:24 2017 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libsdl2-ttf"
     1.7 +SOURCE="SDL2_ttf"
     1.8 +VERSION="2.0.12"
     1.9 +CATEGORY="x-window"
    1.10 +SHORT_DESC="SDL2 ttf support."
    1.11 +MAINTAINER="tcg.thegamer@gmail.com"
    1.12 +LICENSE="LGPL2.1"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
    1.15 +WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +
    1.18 +DEPENDS="libsdl2 freetype zlib"
    1.19 +BUILD_DEPENDS="libsdl2-dev freetype-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./configure $CONFIGURE_ARGS &&
    1.25 +	make && make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/lib
    1.32 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.33 +}