wok-next view gvfb/receipt @ rev 20349

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