wok-current annotate libopusenc/receipt @ rev 25324
updated squid, squid-auth-helpers and squid-langpack (3.4.2 -> 5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 17:10:45 2022 +0100 (2022-07-22) |
parents | 56ee356284c6 |
children |
rev | line source |
---|---|
pascal@20519 | 1 # SliTaz package receipt. |
pascal@20519 | 2 |
pascal@20519 | 3 PACKAGE="libopusenc" |
pascal@20519 | 4 VERSION="0.2.1" |
pascal@20519 | 5 CATEGORY="multimedia" |
pascal@20519 | 6 SHORT_DESC="High-level Opus encoding library" |
pascal@20519 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20519 | 8 LICENSE="GPL2" |
pascal@20519 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@23797 | 10 WEB_SITE="https://opus-codec.org/" |
pascal@20519 | 11 WGET_URL="https://archive.mozilla.org/pub/opus/$TARBALL" |
pascal@20519 | 12 |
pascal@20519 | 13 DEPENDS="opus" |
pascal@20519 | 14 BUILD_DEPENDS="opus-dev pkg-config" |
pascal@20519 | 15 |
pascal@24497 | 16 # What is the latest version available today? |
pascal@24497 | 17 current_version() |
pascal@24497 | 18 { |
pascal@24497 | 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24497 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24497 | 21 } |
pascal@24497 | 22 |
pascal@20519 | 23 # Rules to configure and make the package. |
pascal@20519 | 24 compile_rules() |
pascal@20519 | 25 { |
pascal@20519 | 26 ./configure --prefix=/usr \ |
pascal@20519 | 27 $CONFIGURE_ARGS && \ |
pascal@20519 | 28 make && make DESTDIR=$DESTDIR install |
pascal@20519 | 29 } |
pascal@20519 | 30 |
pascal@20519 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20519 | 32 genpkg_rules() |
pascal@20519 | 33 { |
pascal@20519 | 34 mkdir -p $fs/usr/lib |
pascal@20519 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20519 | 36 } |