wok view libsdl-ttf/receipt @ rev 13051
php, php-gd: Add freetype support
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jun 18 22:02:23 2012 +0200 (2012-06-18) |
parents | 488d2d013bd7 |
children | 6eff489aa802 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-ttf"
4 SOURCE="SDL_ttf"
5 VERSION="2.0.10"
6 CATEGORY="x-window"
7 SHORT_DESC="SDL ttf support."
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="libsdl freetype zlib"
10 BUILD_DEPENDS="libsdl-dev freetype-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
13 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }