wok-6.x view liba53/receipt @ rev 25261

qt5: modified configure
author Hans-G?nter Theisgen
date Fri Jul 15 07:57:26 2022 +0100 (2022-07-15)
parents 5ea0ce1cecc0
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 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 tar xzf liba53*.tar.gz
28 cd liba53*
29 mkdir -p $DESTDIR/usr/lib
30 mkdir -p $DESTDIR/usr/include
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs/
39 }