wok-next annotate libmatchbox/receipt @ rev 16573
slitaz-base-files: get ride of /var/run symlink in pre_install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 19:14:33 2014 +0200 (2014-05-02) |
parents | 4f0e0b25aa94 |
children | 17e313b5b9c1 |
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/" |
pankso@10837 | 11 WGET_URL="${WEB_SITE}sources/$PACKAGE/1.9/$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 { |
pankso@10837 | 19 cd $src |
pascal@15125 | 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" |
pankso@10837 | 21 #--enable-xsettings |
pankso@10837 | 22 ./configure \ |
pankso@10837 | 23 --enable-pango \ |
pankso@10837 | 24 --enable-jpeg \ |
pankso@10837 | 25 $CONFIGURE_ARGS && |
pankso@10837 | 26 make && make install |
pankso@10837 | 27 } |
pankso@10837 | 28 |
pankso@10837 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10837 | 30 genpkg_rules() |
pankso@10837 | 31 { |
pankso@10837 | 32 mkdir -p $fs/usr/lib |
pankso@10837 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@10837 | 34 } |