wok-next view libsdl2-ttf/receipt @ rev 20502
Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 00:27:34 2018 +0200 (2018-03-16) |
parents | 2f03cb67a994 |
children | 757d032c55c7 |
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="tcg.thegamer@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
11 TARBALL="SDL2_ttf-$VERSION.tar.gz"
12 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
14 BUILD_DEPENDS="freetype-dev libsdl2-dev xorg-libX11-dev xorg-libICE-dev \
15 mesa-dev expat-dev xorg-libxshmfence-dev"
16 SPLIT="libsdl2-ttf-dev"
18 compile_rules() {
19 fix ld
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make && make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libsdl2-ttf)
28 copy @std
29 DEPENDS="bzlib freetype glib libharfbuzz libpng16 libsdl2 pcre \
30 tslib zlib"
31 SUGGESTED="mesa"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libsdl2-ttf bzip2-dev freetype-dev glib-dev harfbuzz-dev \
36 libpng16-dev libsdl2-dev pcre-dev tslib-dev zlib-dev"
37 ;;
38 esac
39 }