wok annotate bicon/receipt @ rev 25644

Add fake-hwclock, manage time on system without RTC
author Stanislas Leduc <shann@slitaz.org>
date Tue Jan 16 19:48:23 2024 +0100 (9 months ago)
parents 5ea0ce1cecc0
children
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@25597 16 # What is the latest version available today?
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25597 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 21 }
pascal@24055 22
al@18553 23 # Rules to configure and make the package.
al@18553 24 compile_rules()
al@18553 25 {
al@18553 26 ./autogen.sh &&
al@18553 27 ./configure $CONFIGURE_ARGS &&
al@18553 28 make &&
al@18553 29 make install
al@18553 30 }
al@18553 31
al@18553 32 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18553 33 genpkg_rules()
al@18553 34 {
al@18553 35 cp -a $install/* $fs
al@18553 36 rm -r $fs/usr/include $fs/usr/lib/bicon/*.*a $fs/usr/lib/pkgconfig
al@18553 37
al@18553 38 # bash -> sh
al@18553 39 sed -i 's|bash|sh|; s|function ||' $fs/usr/bin/bicon
al@18553 40 }