wok-next annotate bicon/receipt @ rev 20712
libtorrent: fix rtorrent building for non-64bit archs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:13:53 2018 +0300 (2018-05-27) |
parents | dbc0a79fe19d |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@20569 | 1 # SliTaz package receipt v2. |
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@20569 | 10 |
al@18553 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18553 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
al@18553 | 13 |
al@18553 | 14 BUILD_DEPENDS="autoconf automake libtool fribidi-dev kbd" |
al@18553 | 15 |
al@20569 | 16 compile_rules() { |
al@18553 | 17 ./autogen.sh && |
al@18553 | 18 ./configure $CONFIGURE_ARGS && |
al@20569 | 19 fix libtool && |
al@18553 | 20 make && |
al@20569 | 21 make install || return 1 |
al@20569 | 22 |
al@20569 | 23 # bash -> sh |
al@20569 | 24 sed -i 's|bash|sh|; s|function ||' $install/usr/bin/bicon |
al@18553 | 25 } |
al@18553 | 26 |
al@20569 | 27 genpkg_rules() { |
al@20569 | 28 copy @std |
al@20569 | 29 DEPENDS="kbd fribidi xorg-setxkbmap xorg-xkbcomp" |
al@18553 | 30 } |