wok-next view libsdl-ttf/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | df20b2110f7e |
children |
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/release-1.2.html"
10 REPOLOGY="sdl-ttf"
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="$PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libsdl-ttf)
28 copy @std
29 DEPENDS="freetype libsdl"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libsdl-ttf libsdl-dev"
34 ;;
35 esac
36 }