wok-6.x annotate libsamplerate/receipt @ rev 24732
updated libdvdnav and libdvdnav-dev (6.0.1 -> 6.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 17:34:18 2022 +0100 (2022-03-15) |
parents | f2a4bea2538f |
children |
rev | line source |
---|---|
pankso@295 | 1 # SliTaz package receipt. |
pankso@295 | 2 |
pankso@295 | 3 PACKAGE="libsamplerate" |
Hans-G?nter@21283 | 4 VERSION="0.1.9" |
pankso@295 | 5 CATEGORY="multimedia" |
pankso@295 | 6 SHORT_DESC="Sample Rate Converter for audio." |
pankso@295 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
Hans-G?nter@21283 | 9 WEB_SITE="http://www.mega-nerd.com/SRC/" |
Hans-G?nter@21283 | 10 |
pankso@295 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@295 | 12 WGET_URL="http://www.mega-nerd.com/SRC/$TARBALL" |
pankso@295 | 13 |
pankso@16014 | 14 DEPENDS="" |
pascal@14718 | 15 |
Hans-G?nter@21283 | 16 HOST_ARCH="i486 arm" |
Hans-G?nter@21283 | 17 |
pascal@24447 | 18 # What is the latest version available today? |
pascal@24447 | 19 current_version() |
pascal@24447 | 20 { |
pascal@24447 | 21 wget -O - http://www.mega-nerd.com/SRC/download.html 2>/dev/null | \ |
pascal@24447 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 23 } |
pascal@24447 | 24 |
pankso@295 | 25 # Rules to configure and make the package. |
pankso@295 | 26 compile_rules() |
pankso@295 | 27 { |
Hans-G?nter@21283 | 28 ./configure \ |
Hans-G?nter@21283 | 29 --prefix=/usr \ |
Hans-G?nter@21283 | 30 --mandir=/usr/share/man \ |
pascal@5003 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21283 | 32 make -j 1 && |
slaxemulator@12385 | 33 make DESTDIR=$DESTDIR install |
pankso@295 | 34 } |
pankso@295 | 35 |
pankso@295 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@295 | 37 genpkg_rules() |
pankso@295 | 38 { |
pankso@295 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@21283 | 40 |
Hans-G?nter@21283 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21283 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@295 | 43 } |