wok-next view gvfb/receipt @ rev 19401

memtest: DOS shutdown (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 13:03:50 2016 +0200 (2016-09-03)
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 }