wok annotate gvfb/receipt @ rev 21869

busybox/command_not_found: use $PATH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 10:59:33 2019 +0200 (2019-09-25)
parents 8e396fd3bc8c
children 83b97236db32
rev   line source
pascal@19337 1 # SliTaz package receipt.
pascal@19337 2
pascal@19337 3 PACKAGE="gvfb"
Hans-G?nter@21018 4 VERSION="1.2.1"
pascal@19337 5 CATEGORY="x-window"
pascal@19338 6 SHORT_DESC="A virtual frame buffer program running on GTK."
pascal@19337 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19337 8 LICENSE="GPL3"
Hans-G?nter@21018 9 WEB_SITE="http://www.minigui.org/"
Hans-G?nter@21018 10
pascal@19337 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19337 12 WGET_URL="${WEB_SITE}downloads/$TARBALL"
pascal@19337 13
pascal@19337 14 DEPENDS="gtk+"
Hans-G?nter@21018 15 BUILD_DEPENDS="cmake gtk+-dev pkg-config"
pascal@19337 16
pascal@19337 17 # Rules to configure and make the package.
pascal@19337 18 compile_rules()
pascal@19337 19 {
pascal@19337 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
pascal@19337 21 mkdir built
pascal@19337 22 cd built
Hans-G?nter@21018 23
Hans-G?nter@21018 24 cmake \
Hans-G?nter@21018 25 -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \
Hans-G?nter@21018 26 -DCMAKE_INSTALL_PREFIX=/usr \
Hans-G?nter@21018 27 ../src
Hans-G?nter@21018 28 make -j 1 &&
pascal@19337 29 make DESTDIR=$DESTDIR install
pascal@19337 30 }
pascal@19337 31
pascal@19337 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19337 33 genpkg_rules()
pascal@19337 34 {
pascal@19337 35 mkdir -p $fs/usr
Hans-G?nter@21018 36
pascal@19337 37 cp -a $install/usr/bin $fs/usr
pascal@19337 38 }