wok-next view libsdl-ttf/receipt @ rev 20749

pcre package was split into separate libs. Update the dependencies of the packages that previously depended on pcre.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 01 00:47:43 2018 +0300 (2018-06-01)
parents 5841522533ec
children df20b2110f7e
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"
11 TARBALL="SDL_ttf-$VERSION.tar.gz"
12 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
14 BUILD_DEPENDS="libsdl-dev freetype-dev"
15 SPLIT="libsdl-ttf-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libsdl-ttf)
27 copy @std
28 DEPENDS="freetype libsdl"
29 ;;
30 *-dev)
31 copy @dev
32 DEPENDS="libsdl-ttf libsdl-dev"
33 ;;
34 esac
35 }