wok view bicon/receipt @ rev 25747
thunar: replaced dependency libxfconf by xfconf
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 31 09:37:15 2024 +0100 (2 months ago) |
parents | 5ea0ce1cecc0 |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh &&
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 rm -r $fs/usr/include $fs/usr/lib/bicon/*.*a $fs/usr/lib/pkgconfig
38 # bash -> sh
39 sed -i 's|bash|sh|; s|function ||' $fs/usr/bin/bicon
40 }