wok-6.x view bicon/receipt @ rev 19373

xarchive: add nanozip
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 14:08:33 2016 +0200 (2016-08-10)
parents
children 1be66a08b81f
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./autogen.sh &&
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 rm -r $fs/usr/include $fs/usr/lib/bicon/*.*a $fs/usr/lib/pkgconfig
31 # bash -> sh
32 sed -i 's|bash|sh|; s|function ||' $fs/usr/bin/bicon
33 }