wok-next view libsdl-ttf/receipt @ rev 20204
libjreen: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:50:48 2017 +0100 (2017-11-03) |
parents | 4cd474907d60 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl-ttf"
4 VERSION="2.0.11" # version 1.2.2 the last from 1.2 series, but it need freetype1
5 CATEGORY="x-window"
6 SHORT_DESC="SDL ttf support"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/release-1.2.html"
10 HOST_ARCH="i486 arm"
12 TARBALL="SDL_ttf-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
15 BUILD_DEPENDS="libsdl-dev freetype-dev"
16 SPLIT="libsdl-ttf-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 libsdl-ttf)
25 copy @std
26 DEPENDS="bzlib freetype glib libharfbuzz libpng16 libsdl pcre \
27 zlib"
28 ;;
29 *-dev)
30 copy @dev
31 DEPENDS="libsdl-ttf bzip2-dev freetype-dev glib-dev harfbuzz-dev \
32 libpng16-dev libsdl-dev pcre-dev zlib-dev"
33 ;;
34 esac
35 }