wok-next view liba53/receipt @ rev 19687

unshield: _BSD_SOURCE is deprecated
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 10 09:48:32 2017 +0200 (2017-04-10)
parents
children d43bf7aae921
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 tar xzf liba53_$VERSION.tar.gz
21 cd liba53*
22 mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/include
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs/
31 }