wok-next diff sawman/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | c4e53a39395a |
children | d5aab818505e |
line diff
1.1 --- a/sawman/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/sawman/receipt Tue May 29 15:17:41 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="sawman" 1.8 VERSION="1.4.3" 1.9 @@ -6,33 +6,25 @@ 1.10 SHORT_DESC="DirectFB Window manager" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -SOURCE="SaWMan" 1.14 -TARBALL="${SOURCE}-${VERSION}.tar.gz" 1.15 WEB_SITE="http://directfb.org/index.php?path=Platform/SaWMan" 1.16 + 1.17 +TARBALL="SaWMan-$VERSION.tar.gz" 1.18 WGET_URL="http://directfb.org/downloads/Extras/$TARBALL" 1.19 1.20 -DEPENDS="directfb" 1.21 BUILD_DEPENDS="directfb-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - ./configure \ 1.27 - $CONFIGURE_ARGS && 1.28 - make && make install 1.29 +compile_rules() { 1.30 + ./configure $CONFIGURE_ARGS && 1.31 + fix libtool && 1.32 + make && 1.33 + make install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr/lib 1.40 - cp -a $install/usr/bin $fs/usr 1.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.42 - cp -a $install/usr/lib/directfb-* $fs/usr/lib 1.43 - find $fs/usr/lib -name "*.*a" -exec rm '{}' \; 1.44 +genpkg_rules() { 1.45 + copy @std 1.46 + DEPENDS="directfb" 1.47 } 1.48 1.49 -testsuite() 1.50 -{ 1.51 +testsuite() { 1.52 readelf -h $install/usr/bin/testman 1.53 }