wok view liba53/receipt @ rev 25803

Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 12 15:28:00 2024 +0000 (12 days ago)
parents 080c773b0353
children
line source
1 # SliTaz package receipt.
3 PACKAGE="liba53"
4 VERSION="4.0.0"
5 CATEGORY="misc"
6 MAINTAINER="pascal.bellard@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="The A5/3 library"
9 WEB_SITE="https://rangenetworks.com/"
11 OBVERSION="4.0.0"
12 TARBALL="openbts-$OBVERSION.zip"
13 WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip"
15 DEPENDS=""
16 BUILD_DEPENDS="pkg-config"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 tar xzf liba53*.tar.gz
29 cd liba53*
30 mkdir -p $DESTDIR/usr/lib
31 mkdir -p $DESTDIR/usr/include
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs/
40 }