wok view gvfb/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | 8e396fd3bc8c |
children | 83b97236db32 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gvfb"
4 VERSION="1.2.1"
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 WEB_SITE="http://www.minigui.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}downloads/$TARBALL"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="cmake gtk+-dev pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
21 mkdir built
22 cd built
24 cmake \
25 -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 ../src
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }