wok annotate liba53/receipt @ rev 24808
updated libmtp, libmtp-dev and mtp-tools (1.1.17 -> 1.1.19)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 16:29:00 2022 +0100 (2022-03-22) |
parents | 5ea0ce1cecc0 |
children | 7364ffdaaa60 |
rev | line source |
---|---|
pascal@16791 | 1 # SliTaz package receipt. |
pascal@16791 | 2 |
pascal@16791 | 3 PACKAGE="liba53" |
Hans-G?nter@24717 | 4 VERSION="4.0.0" |
pascal@16791 | 5 CATEGORY="misc" |
pascal@16791 | 6 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16791 | 7 LICENSE="GPL2" |
pascal@16791 | 8 SHORT_DESC="The A5/3 library" |
Hans-G?nter@24717 | 9 WEB_SITE="https://rangenetworks.com/" |
Hans-G?nter@24717 | 10 |
pascal@16791 | 11 OBVERSION="4.0.0" |
pascal@16791 | 12 TARBALL="openbts-$OBVERSION.zip" |
pascal@16791 | 13 WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip" |
pascal@16791 | 14 |
pascal@16791 | 15 DEPENDS="" |
Hans-G?nter@24717 | 16 BUILD_DEPENDS="pkg-config" |
pascal@16791 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@16791 | 24 # Rules to configure and make the package. |
pascal@16791 | 25 compile_rules() |
pascal@16791 | 26 { |
Hans-G?nter@24717 | 27 tar xzf liba53*.tar.gz |
pascal@16791 | 28 cd liba53* |
Hans-G?nter@24717 | 29 mkdir -p $DESTDIR/usr/lib |
Hans-G?nter@24717 | 30 mkdir -p $DESTDIR/usr/include |
pascal@16791 | 31 make && |
Hans-G?nter@24717 | 32 make install DESTDIR=$DESTDIR |
pascal@16791 | 33 } |
pascal@16791 | 34 |
pascal@16791 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16791 | 36 genpkg_rules() |
pascal@16791 | 37 { |
Hans-G?nter@24717 | 38 cp -a $install/usr $fs/ |
pascal@16791 | 39 } |