wok-next diff gvfb/receipt @ rev 21114
startup-notification: redesign
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 12 15:31:59 2019 +0200 (2019-01-12) |
parents | f48456621a9d |
children |
line diff
1.1 --- a/gvfb/receipt Tue Oct 16 16:46:05 2018 +0300 1.2 +++ b/gvfb/receipt Sat Jan 12 15:31:59 2019 +0200 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="gvfb" 1.5 VERSION="1.0.0" 1.6 CATEGORY="x-window" 1.7 -SHORT_DESC="A virtual frame buffer program running on GTK." 1.8 +SHORT_DESC="A virtual frame buffer program running on GTK" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL3" 1.11 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 @@ -13,21 +13,20 @@ 1.13 DEPENDS="gtk2" 1.14 BUILD_DEPENDS="cmake gtk2-dev" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 +compile_rules() { 1.20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" 1.21 + 1.22 mkdir built 1.23 - cd built 1.24 - cmake -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \ 1.25 - -DCMAKE_INSTALL_PREFIX=/usr ../src 1.26 + cd built 1.27 + cmake \ 1.28 + -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \ 1.29 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.30 + ../src && 1.31 make && 1.32 - make DESTDIR=$DESTDIR install 1.33 + make DESTDIR=$install install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 +genpkg_rules() { 1.40 mkdir -p $fs/usr 1.41 cp -a $install/usr/bin $fs/usr 1.42 }