wok-next diff libzen/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | fa19801b8f78 |
children | 9a78fd347e59 |
line diff
1.1 --- a/libzen/receipt Mon Nov 30 03:44:46 2015 +0200 1.2 +++ b/libzen/receipt Fri Apr 27 12:51:30 2018 +0200 1.3 @@ -1,35 +1,31 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libzen" 1.8 VERSION="0.4.32" 1.9 -CATEGORY="libdevel" 1.10 +CATEGORY="development" 1.11 SHORT_DESC="ZenLib - small C++ derivative class to have a simpler life" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 LICENSE="zlib/libpng" 1.14 WEB_SITE="http://mediaarea.net/" 1.15 + 1.16 TARBALL="${PACKAGE}_$VERSION.tar.bz2" 1.17 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL" 1.18 1.19 -DEPENDS="" 1.20 BUILD_DEPENDS="libtool" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 +compile_rules() { 1.26 cd Project/GNU/Library 1.27 ./autogen.sh 1.28 - ./configure \ 1.29 - --prefix=/usr \ 1.30 - --sysconfdir=/etc \ 1.31 - $CONFIGURE_ARGS && 1.32 - make && make install 1.33 + ./configure $CONFIGURE_ARGS && 1.34 + make && 1.35 + make install || return 1 1.36 1.37 - sed -i -e "s|$src/Project/GNU/Library|/usr/lib|" -e 's|/.libs||' \ 1.38 - $install/usr/bin/libzen-config 1.39 + sed \ 1.40 + -e "s|$src/Project/GNU/Library|/usr/lib|" \ 1.41 + -e 's|/.libs||' \ 1.42 + -i $install/usr/bin/libzen-config 1.43 } 1.44 1.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.46 -genpkg_rules() 1.47 -{ 1.48 - cp -a $install/* $fs 1.49 +genpkg_rules() { 1.50 + copy @dev 1.51 }