wok-next annotate libsdl-pango/receipt @ rev 15434
Up: eet (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:30 2013 +0100 (2013-11-05) |
parents | fa3e34687bfd |
children | ee5c8b018b62 |
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" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
slaxemulator@7409 | 9 SOURCE="SDL_Pango" |
slaxemulator@7409 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7409 | 11 WEB_SITE="http://sdlpango.sourceforge.net/" |
slaxemulator@7409 | 12 WGET_URL="$SF_MIRROR/sdlpango/$TARBALL" |
slaxemulator@7409 | 13 |
pascal@14718 | 14 DEPENDS="pango libsdl" |
pascal@14720 | 15 BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev" |
pascal@14718 | 16 |
slaxemulator@7409 | 17 # Rules to configure and make the package. |
slaxemulator@7409 | 18 compile_rules() |
slaxemulator@7409 | 19 { |
slaxemulator@7409 | 20 cd $src |
slaxemulator@9700 | 21 patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch |
slaxemulator@9700 | 22 patch -Np1 -i $stuff/matrix_declarations.patch |
slaxemulator@7409 | 23 ./configure \ |
slaxemulator@7409 | 24 --prefix=/usr \ |
slaxemulator@7409 | 25 --infodir=/usr/share/info \ |
slaxemulator@7409 | 26 --mandir=/usr/share/man \ |
slaxemulator@7409 | 27 $CONFIGURE_ARGS && |
slaxemulator@7409 | 28 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7409 | 29 } |
slaxemulator@7409 | 30 |
slaxemulator@7409 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7409 | 32 genpkg_rules() |
slaxemulator@7409 | 33 { |
slaxemulator@7409 | 34 mkdir -p $fs/usr/lib |
pascal@14718 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7409 | 36 } |
slaxemulator@7409 | 37 |