wok-next view libsdl2-ttf/receipt @ rev 21037
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 06 16:35:54 2018 +0200 (2018-11-06) |
parents | df20b2110f7e |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl2-ttf"
4 VERSION="2.0.14"
5 CATEGORY="x-window"
6 SHORT_DESC="SDL2 ttf support"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
10 REPOLOGY="sdl2-ttf"
12 TARBALL="SDL2_ttf-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
15 BUILD_DEPENDS="freetype-dev libsdl2-dev xorg-libX11-dev xorg-libICE-dev \
16 mesa-dev expat-dev xorg-libxshmfence-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libsdl2-ttf)
29 copy @std
30 DEPENDS="freetype libsdl2"
31 SUGGESTED="mesa"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libsdl2-ttf libsdl2-dev"
36 ;;
37 esac
38 }