wok-next view libsdl2-ttf/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 757d032c55c7 |
children | df20b2110f7e |
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 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libsdl2-ttf)
28 copy @std
29 DEPENDS="freetype libsdl2"
30 SUGGESTED="mesa"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libsdl2-ttf libsdl2-dev"
35 ;;
36 esac
37 }