wok-next diff bicon/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 | dbc0a79fe19d |
children | 5669e8b3be70 |
line diff
1.1 --- a/bicon/receipt Sat Nov 07 23:36:54 2015 +0200 1.2 +++ b/bicon/receipt Fri Apr 27 12:51:30 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="bicon" 1.8 VERSION="0.5" 1.9 @@ -7,27 +7,24 @@ 1.10 MAINTAINER="al.bobylev@gmail.com" 1.11 LICENSE="PSF BSD PublicDomain LGPL2.1" 1.12 WEB_SITE="https://github.com/behdad/bicon" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.16 1.17 -DEPENDS="kbd fribidi xorg-setxkbmap xorg-xkbcomp" 1.18 BUILD_DEPENDS="autoconf automake libtool fribidi-dev kbd" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 +compile_rules() { 1.24 ./autogen.sh && 1.25 ./configure $CONFIGURE_ARGS && 1.26 + fix libtool && 1.27 make && 1.28 - make install 1.29 + make install || return 1 1.30 + 1.31 + # bash -> sh 1.32 + sed -i 's|bash|sh|; s|function ||' $install/usr/bin/bicon 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 - cp -a $install/* $fs 1.39 - rm -r $fs/usr/include $fs/usr/lib/bicon/*.*a $fs/usr/lib/pkgconfig 1.40 - 1.41 - # bash -> sh 1.42 - sed -i 's|bash|sh|; s|function ||' $fs/usr/bin/bicon 1.43 +genpkg_rules() { 1.44 + copy @std 1.45 + DEPENDS="kbd fribidi xorg-setxkbmap xorg-xkbcomp" 1.46 }