wok annotate bicon/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 1be66a08b81f
children 343c093ad221
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"
pascal@20571 14 BUILD_DEPENDS="autoconf automake libtool fribidi-dev kbd file"
al@18553 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
al@18553 22 # Rules to configure and make the package.
al@18553 23 compile_rules()
al@18553 24 {
al@18553 25 ./autogen.sh &&
al@18553 26 ./configure $CONFIGURE_ARGS &&
al@18553 27 make &&
al@18553 28 make install
al@18553 29 }
al@18553 30
al@18553 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18553 32 genpkg_rules()
al@18553 33 {
al@18553 34 cp -a $install/* $fs
al@18553 35 rm -r $fs/usr/include $fs/usr/lib/bicon/*.*a $fs/usr/lib/pkgconfig
al@18553 36
al@18553 37 # bash -> sh
al@18553 38 sed -i 's|bash|sh|; s|function ||' $fs/usr/bin/bicon
al@18553 39 }