wok-current annotate libsdl-pango/receipt @ rev 18987
Additional themes for Slitaz GNU/Linux.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Mar 17 05:14:19 2016 -0300 (2016-03-17) |
parents | ee5c8b018b62 |
children | 65d7d867e0c1 |
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" |
pankso@16312 | 13 HOST_ARCH="i486 arm" |
slaxemulator@7409 | 14 |
pascal@14718 | 15 DEPENDS="pango libsdl" |
pascal@14720 | 16 BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev" |
pascal@14718 | 17 |
pankso@16312 | 18 # Handle cross compilation |
pankso@16312 | 19 case "$ARCH" in |
pankso@16312 | 20 arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;; |
pankso@16312 | 21 esac |
pankso@16312 | 22 |
slaxemulator@7409 | 23 # Rules to configure and make the package. |
slaxemulator@7409 | 24 compile_rules() |
slaxemulator@7409 | 25 { |
slaxemulator@9700 | 26 patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch |
slaxemulator@9700 | 27 patch -Np1 -i $stuff/matrix_declarations.patch |
slaxemulator@7409 | 28 ./configure \ |
slaxemulator@7409 | 29 $CONFIGURE_ARGS && |
pankso@16312 | 30 make ${ARCH_MAKE} && make DESTDIR=$DESTDIR install |
slaxemulator@7409 | 31 } |
slaxemulator@7409 | 32 |
slaxemulator@7409 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7409 | 34 genpkg_rules() |
slaxemulator@7409 | 35 { |
slaxemulator@7409 | 36 mkdir -p $fs/usr/lib |
pascal@14718 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7409 | 38 } |
slaxemulator@7409 | 39 |