wok-next annotate libsdl-pango/receipt @ rev 10427
libsdl-net: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 24 21:04:02 2011 +0200 (2011-05-24) |
parents | 21199ecea5be |
children | 6eff489aa802 |
rev | line source |
---|---|
slaxemulator@7409 | 1 # SliTaz package receipt. |
slaxemulator@7409 | 2 |
slaxemulator@7409 | 3 PACKAGE="libsdl-pango" |
slaxemulator@7409 | 4 VERSION="0.1.2" |
slaxemulator@7409 | 5 CATEGORY="x-window" |
slaxemulator@7409 | 6 SHORT_DESC="Pango SDL binding." |
slaxemulator@7409 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7409 | 8 DEPENDS="pango libsdl" |
slaxemulator@7409 | 9 BUILD_DEPENDS="pango-dev libsdl-dev pkg-config" |
slaxemulator@7409 | 10 SOURCE="SDL_Pango" |
slaxemulator@7409 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7409 | 12 WEB_SITE="http://sdlpango.sourceforge.net/" |
slaxemulator@7409 | 13 WGET_URL="$SF_MIRROR/sdlpango/$TARBALL" |
slaxemulator@7409 | 14 |
slaxemulator@7409 | 15 # Rules to configure and make the package. |
slaxemulator@7409 | 16 compile_rules() |
slaxemulator@7409 | 17 { |
slaxemulator@7409 | 18 cd $src |
slaxemulator@9700 | 19 patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch |
slaxemulator@9700 | 20 patch -Np1 -i $stuff/matrix_declarations.patch |
slaxemulator@7409 | 21 ./configure \ |
slaxemulator@7409 | 22 --prefix=/usr \ |
slaxemulator@7409 | 23 --infodir=/usr/share/info \ |
slaxemulator@7409 | 24 --mandir=/usr/share/man \ |
slaxemulator@7409 | 25 $CONFIGURE_ARGS && |
slaxemulator@7409 | 26 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7409 | 27 } |
slaxemulator@7409 | 28 |
slaxemulator@7409 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7409 | 30 genpkg_rules() |
slaxemulator@7409 | 31 { |
slaxemulator@7409 | 32 mkdir -p $fs/usr/lib |
slaxemulator@7409 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7409 | 34 } |
slaxemulator@7409 | 35 |