wok-6.x view bicon/receipt @ rev 24800
updated libidn and libidn-dev (1.35 -> 1.38)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 09:47:07 2022 +0100 (2022-03-22) |
parents | 1be66a08b81f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="bicon"
4 VERSION="0.5"
5 CATEGORY="localization"
6 SHORT_DESC="BiCon - The Bidirectional Console"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PSF BSD PublicDomain LGPL2.1"
9 WEB_SITE="https://github.com/behdad/bicon"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="kbd fribidi xorg-setxkbmap xorg-xkbcomp"
14 BUILD_DEPENDS="autoconf automake libtool fribidi-dev kbd file"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./autogen.sh &&
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 rm -r $fs/usr/include $fs/usr/lib/bicon/*.*a $fs/usr/lib/pkgconfig
37 # bash -> sh
38 sed -i 's|bash|sh|; s|function ||' $fs/usr/bin/bicon
39 }