wok view bicon/receipt @ rev 25515
Update qemu website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 09:52:04 2023 +0000 (21 months ago) |
parents | 1be66a08b81f |
children | 343c093ad221 |
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 }