wok diff bicon/receipt @ rev 19708

pxe-kexec, scilab, uhd: add -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 15 11:22:40 2017 +0100 (2017-02-15)
parents
children 1be66a08b81f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bicon/receipt	Wed Feb 15 11:22:40 2017 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="bicon"
     1.7 +VERSION="0.5"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="BiCon - The Bidirectional Console"
    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 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="kbd fribidi xorg-setxkbmap xorg-xkbcomp"
    1.17 +BUILD_DEPENDS="autoconf automake libtool fribidi-dev kbd"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./autogen.sh &&
    1.23 +	./configure $CONFIGURE_ARGS &&
    1.24 +	make &&
    1.25 +	make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/* $fs
    1.32 +	rm -r $fs/usr/include $fs/usr/lib/bicon/*.*a $fs/usr/lib/pkgconfig
    1.33 +
    1.34 +	# bash -> sh
    1.35 +	sed -i 's|bash|sh|; s|function ||' $fs/usr/bin/bicon
    1.36 +}