wok view gvfb/receipt @ rev 25672
Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:07:44 2024 +0000 (10 months ago) |
parents | 4486847417ab |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WEB_SITE}download 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
28 mkdir built
29 cd built
31 cmake \
32 -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \
33 -DCMAKE_INSTALL_PREFIX=/usr \
34 ../src
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 }