wok-current annotate bicon/receipt @ rev 20427

linld: remove dead code
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 22:18:05 2018 +0200 (2018-08-14)
parents
children 1be66a08b81f
rev   line source
al@18553 1 # SliTaz package receipt.
al@18553 2
al@18553 3 PACKAGE="bicon"
al@18553 4 VERSION="0.5"
al@18553 5 CATEGORY="localization"
al@18553 6 SHORT_DESC="BiCon - The Bidirectional Console"
al@18553 7 MAINTAINER="al.bobylev@gmail.com"
al@18553 8 LICENSE="PSF BSD PublicDomain LGPL2.1"
al@18553 9 WEB_SITE="https://github.com/behdad/bicon"
al@18553 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18553 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
al@18553 12
al@18553 13 DEPENDS="kbd fribidi xorg-setxkbmap xorg-xkbcomp"
al@18553 14 BUILD_DEPENDS="autoconf automake libtool fribidi-dev kbd"
al@18553 15
al@18553 16 # Rules to configure and make the package.
al@18553 17 compile_rules()
al@18553 18 {
al@18553 19 ./autogen.sh &&
al@18553 20 ./configure $CONFIGURE_ARGS &&
al@18553 21 make &&
al@18553 22 make install
al@18553 23 }
al@18553 24
al@18553 25 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18553 26 genpkg_rules()
al@18553 27 {
al@18553 28 cp -a $install/* $fs
al@18553 29 rm -r $fs/usr/include $fs/usr/lib/bicon/*.*a $fs/usr/lib/pkgconfig
al@18553 30
al@18553 31 # bash -> sh
al@18553 32 sed -i 's|bash|sh|; s|function ||' $fs/usr/bin/bicon
al@18553 33 }