wok-next annotate gvfb/receipt @ rev 21119
libarchive: depends on libzstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 14 03:39:08 2019 +0200 (2019-01-14) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
pascal@19337 | 1 # SliTaz package receipt. |
pascal@19337 | 2 |
pascal@19337 | 3 PACKAGE="gvfb" |
pascal@19337 | 4 VERSION="1.0.0" |
pascal@19337 | 5 CATEGORY="x-window" |
al@21020 | 6 SHORT_DESC="A virtual frame buffer program running on GTK" |
pascal@19337 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19337 | 8 LICENSE="GPL3" |
pascal@19337 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19337 | 10 WEB_SITE="http://www.minigui.org/" |
pascal@19337 | 11 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
pascal@19337 | 12 |
al@21017 | 13 DEPENDS="gtk2" |
al@21017 | 14 BUILD_DEPENDS="cmake gtk2-dev" |
pascal@19337 | 15 |
al@21020 | 16 compile_rules() { |
pascal@19337 | 17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
al@21020 | 18 |
pascal@19337 | 19 mkdir built |
al@21020 | 20 cd built |
al@21020 | 21 cmake \ |
al@21020 | 22 -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \ |
al@21020 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21020 | 24 ../src && |
pascal@19337 | 25 make && |
al@21020 | 26 make DESTDIR=$install install |
pascal@19337 | 27 } |
pascal@19337 | 28 |
al@21020 | 29 genpkg_rules() { |
pascal@19337 | 30 mkdir -p $fs/usr |
pascal@19337 | 31 cp -a $install/usr/bin $fs/usr |
pascal@19337 | 32 } |