wok-next annotate libsdl-ttf/receipt @ rev 13245
Move from undigest: turses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:39:29 2012 +0200 (2012-08-14) |
parents | 488d2d013bd7 |
children | 6eff489aa802 |
rev | line source |
---|---|
pankso@1188 | 1 # SliTaz package receipt. |
pankso@1188 | 2 |
pankso@1188 | 3 PACKAGE="libsdl-ttf" |
pankso@1188 | 4 SOURCE="SDL_ttf" |
slaxemulator@6199 | 5 VERSION="2.0.10" |
pankso@1188 | 6 CATEGORY="x-window" |
pankso@1188 | 7 SHORT_DESC="SDL ttf support." |
pankso@1188 | 8 MAINTAINER="pankso@slitaz.org" |
slaxemulator@9408 | 9 DEPENDS="libsdl freetype zlib" |
slaxemulator@9408 | 10 BUILD_DEPENDS="libsdl-dev freetype-dev" |
pankso@1188 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@1188 | 12 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" |
pankso@1188 | 13 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL" |
pankso@1188 | 14 |
pankso@1188 | 15 # Rules to configure and make the package. |
pankso@1188 | 16 compile_rules() |
pankso@1188 | 17 { |
pankso@1188 | 18 cd $src |
pascal@2476 | 19 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2476 | 20 make && |
pankso@1188 | 21 make DESTDIR=$PWD/_pkg install |
pankso@1188 | 22 } |
pankso@1188 | 23 |
pankso@1188 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1188 | 25 genpkg_rules() |
pankso@1188 | 26 { |
pankso@1188 | 27 mkdir -p $fs/usr/lib |
pankso@1188 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1188 | 29 } |