wok annotate libmatchbox/receipt @ rev 19777
Up cookutils (882)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 21 21:19:57 2017 +0100 (2017-02-21) |
parents | 17e313b5b9c1 |
children | 116dfad8829f |
rev | line source |
---|---|
pankso@10837 | 1 # SliTaz package receipt. |
pankso@10837 | 2 |
pankso@10837 | 3 PACKAGE="libmatchbox" |
pankso@10837 | 4 VERSION="1.9" |
pankso@10837 | 5 CATEGORY="x-window" |
pankso@10837 | 6 SHORT_DESC="Matchbox shared library." |
pankso@10837 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15080 | 8 LICENSE="LGPL2.1" |
pankso@10837 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10837 | 10 WEB_SITE="http://matchbox-project.org/" |
pascal@17869 | 11 WGET_URL="${WEB_SITE}sources/$PACKAGE/$VERSION/$TARBALL" |
pankso@10837 | 12 |
pankso@10837 | 13 DEPENDS="pango" |
pascal@15113 | 14 BUILD_DEPENDS="pango-dev jpeg-dev libxml2-dev" |
pankso@10837 | 15 |
pankso@10837 | 16 # Rules to configure and make the package. |
pankso@10837 | 17 compile_rules() |
pankso@10837 | 18 { |
pascal@17670 | 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
pankso@10837 | 20 #--enable-xsettings |
pankso@10837 | 21 ./configure \ |
pankso@10837 | 22 --enable-pango \ |
pankso@10837 | 23 --enable-jpeg \ |
pankso@10837 | 24 $CONFIGURE_ARGS && |
pankso@10837 | 25 make && make install |
pankso@10837 | 26 } |
pankso@10837 | 27 |
pankso@10837 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10837 | 29 genpkg_rules() |
pankso@10837 | 30 { |
pankso@10837 | 31 mkdir -p $fs/usr/lib |
pankso@10837 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@10837 | 33 } |