wok-6.x annotate matchbox-desktop/receipt @ rev 19693
ettercap: add LDFLAGS for -Wl,--copy-dt-needed-entries
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 13:42:16 2017 +0100 (2017-02-13) |
parents | 17e313b5b9c1 |
children | 241fb98cab1c |
rev | line source |
---|---|
pankso@10838 | 1 # SliTaz package receipt. |
pankso@10838 | 2 |
pankso@10838 | 3 PACKAGE="matchbox-desktop" |
pankso@10838 | 4 VERSION="0.9.1" |
pankso@10838 | 5 CATEGORY="x-window" |
pankso@10838 | 6 SHORT_DESC="Matchbox desktop." |
pankso@10838 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pankso@10838 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10838 | 10 WEB_SITE="http://matchbox-project.org/" |
pascal@17869 | 11 WGET_URL="${WEB_SITE}sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@10838 | 12 |
pankso@10838 | 13 DEPENDS="gtk+ startup-notification libmatchbox" |
pankso@10838 | 14 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev" |
pankso@10838 | 15 |
pankso@10838 | 16 # Rules to configure and make the package. |
pankso@10838 | 17 compile_rules() |
pankso@10838 | 18 { |
pascal@17670 | 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ldl" |
pankso@10838 | 20 ./configure \ |
pankso@10838 | 21 --sysconfdir=/etc \ |
pankso@10838 | 22 $CONFIGURE_ARGS && |
pankso@10838 | 23 sed -i s'/$(install_sh) -d/mkdir -p/' data/Makefile && |
pankso@10838 | 24 make && make install |
pankso@10838 | 25 } |
pankso@10838 | 26 |
pankso@10838 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10838 | 28 genpkg_rules() |
pankso@10838 | 29 { |
pankso@10838 | 30 mkdir -p $fs/usr/lib/matchbox/desktop |
pankso@10838 | 31 cp -a $install/etc $fs |
pankso@10838 | 32 cp -a $install/usr/bin $fs/usr |
pankso@10838 | 33 cp -a $install/usr/lib/matchbox/desktop/*.so \ |
pankso@10838 | 34 $fs/usr/lib/matchbox/desktop |
pankso@10838 | 35 cp -a $install/usr/share $fs/usr |
pankso@10838 | 36 } |