wok-current view gvfb/receipt @ rev 25520
created recipes for libluv and libluv-dev 1.44.2.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:44:32 2023 +0100 (21 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 }