wok-6.x view liba53/receipt @ rev 24134
Up lzsa (1.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 28 18:03:20 2021 +0000 (2021-10-28) |
parents | c54f9ed61f3b |
children | 080c773b0353 |
line source
1 # SliTaz package receipt.
3 PACKAGE="liba53"
4 VERSION="0.1"
5 CATEGORY="misc"
6 MAINTAINER="pascal.bellard@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="The A5/3 library"
9 WEB_SITE="http://www.rangenetworks.com/"
10 OBVERSION="4.0.0"
11 TARBALL="openbts-$OBVERSION.zip"
12 WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip"
14 DEPENDS=""
15 BUILD_DEPENDS="wget pkg-config"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 tar xzf liba53_$VERSION.tar.gz
27 cd liba53*
28 mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/include
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs/
37 }