wok-6.x annotate xorg-libXft/receipt @ rev 15050
kino: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 18:52:35 2013 +0000 (2013-08-12) |
parents | baf2b1151fa6 |
children | 7bae09de1061 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXft" |
al@14646 | 4 VERSION="2.3.1" |
pankso@20 | 5 CATEGORY="x-window" |
al@14646 | 6 SHORT_DESC="X FreeType library" |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@14646 | 8 LICENSE="other" |
slaxemulator@14647 | 9 SOURCE="libXft" |
slaxemulator@14647 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 11 WEB_SITE="http://www.x.org/" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 13 |
al@14646 | 14 DEPENDS="fontconfig xorg-libXrender" |
al@14646 | 15 BUILD_DEPENDS="xorg-libXrender-dev freetype-dev fontconfig-dev libxml2-dev" |
pankso@12513 | 16 |
pankso@20 | 17 # Rules to configure and make the package. |
pankso@20 | 18 compile_rules() |
pankso@20 | 19 { |
pankso@3012 | 20 ./configure \ |
pankso@12513 | 21 --sysconfdir=/etc \ |
pankso@12513 | 22 --localstatedir=/var \ |
al@14646 | 23 --disable-static \ |
pankso@12513 | 24 $CONFIGURE_ARGS && |
al@14646 | 25 make && |
al@14646 | 26 make install |
pankso@20 | 27 } |
pankso@20 | 28 |
pankso@20 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 30 genpkg_rules() |
pankso@20 | 31 { |
pankso@20 | 32 mkdir -p $fs/usr/lib |
pankso@12513 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 34 } |