wok-next diff lingot/receipt @ rev 20595
More fix libtool.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Apr 16 11:36:31 2018 +0300 (2018-04-16) |
parents | fb478984fbc8 |
children | f48456621a9d |
line diff
1.1 --- a/lingot/receipt Fri Aug 04 16:04:04 2017 +0300 1.2 +++ b/lingot/receipt Mon Apr 16 11:36:31 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="lingot" 1.8 VERSION="0.8.1" 1.9 @@ -6,28 +6,26 @@ 1.10 SHORT_DESC="Musical instrument tuner" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="http://www.nongnu.org/lingot/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.nongnu.org/lingot/" 1.17 WGET_URL="http://download.savannah.gnu.org/releases/lingot/$TARBALL" 1.18 1.19 -DEPENDS="gtk+ alsa-lib jack libglade" 1.20 BUILD_DEPENDS="gtk+-dev alsa-lib-dev jack-dev \ 1.21 libglade-dev intltool" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - cd $src 1.27 +compile_rules() { 1.28 ./configure \ 1.29 - --disable-jack $CONFIGURE_ARGS && 1.30 - make && make install 1.31 + --disable-jack \ 1.32 + $CONFIGURE_ARGS && 1.33 + fix libtool && 1.34 + make && 1.35 + make install || return 1 1.36 + 1.37 + install -Dm644 $stuff/lingot.desktop $install/usr/share/applications/lingot.desktop 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr/share/applications 1.44 - cp -a $stuff/lingot.desktop $fs/usr/share/applications 1.45 - cp -a $install/usr/bin $fs/usr 1.46 - cp -a $install/usr/share/lingot $fs/usr/share 1.47 +genpkg_rules() { 1.48 + copy @std 1.49 + DEPENDS="gtk+ alsa-lib jack libglade" 1.50 }