wok annotate gvfb/receipt @ rev 19776
mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 21 19:42:12 2017 +0100 (2017-02-21) |
parents | 7d58830b2493 |
children | 4486847417ab |
rev | line source |
---|---|
pascal@19337 | 1 # SliTaz package receipt. |
pascal@19337 | 2 |
pascal@19337 | 3 PACKAGE="gvfb" |
pascal@19337 | 4 VERSION="1.0.0" |
pascal@19337 | 5 CATEGORY="x-window" |
pascal@19338 | 6 SHORT_DESC="A virtual frame buffer program running on GTK." |
pascal@19337 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19337 | 8 LICENSE="GPL3" |
pascal@19337 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19337 | 10 WEB_SITE="http://www.minigui.org/" |
pascal@19337 | 11 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
pascal@19337 | 12 |
pascal@19337 | 13 DEPENDS="gtk+" |
pascal@19337 | 14 BUILD_DEPENDS="cmake pkg-config gtk+-dev" |
pascal@19337 | 15 |
pascal@19337 | 16 # Rules to configure and make the package. |
pascal@19337 | 17 compile_rules() |
pascal@19337 | 18 { |
pascal@19337 | 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
pascal@19337 | 20 mkdir built |
pascal@19337 | 21 cd built |
pascal@19337 | 22 cmake -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \ |
pascal@19337 | 23 -DCMAKE_INSTALL_PREFIX=/usr ../src |
pascal@19337 | 24 make && |
pascal@19337 | 25 make DESTDIR=$DESTDIR install |
pascal@19337 | 26 } |
pascal@19337 | 27 |
pascal@19337 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19337 | 29 genpkg_rules() |
pascal@19337 | 30 { |
pascal@19337 | 31 mkdir -p $fs/usr |
pascal@19337 | 32 cp -a $install/usr/bin $fs/usr |
pascal@19337 | 33 } |