wok annotate taglib/receipt @ rev 24839

updated libtkimg and libtkimg-dev (1.4.2 -> 1.4.13)
author Hans-G?nter Theisgen
date Fri Mar 25 09:07:22 2022 +0100 (2022-03-25)
parents 63de22f6cf26
children
rev   line source
pankso@1118 1 # SliTaz package receipt.
pankso@1118 2
pankso@1118 3 PACKAGE="taglib"
Hans-G?nter@24298 4 VERSION="1.12"
pankso@1118 5 CATEGORY="multimedia"
Hans-G?nter@22002 6 TAGS="multimedia music tag"
pankso@1118 7 SHORT_DESC="Audio tag library."
pankso@1118 8 MAINTAINER="pankso@slitaz.org"
pascal@15590 9 LICENSE="LGPL2.1"
Hans-G?nter@22002 10 WEB_SITE="https://taglib.org/"
Hans-G?nter@22002 11
pankso@1118 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22002 13 WGET_URL="${WEB_SITE}releases/$TARBALL"
Hans-G?nter@22002 14
Hans-G?nter@22002 15 DEPENDS="gcc-lib-base zlib"
Hans-G?nter@22002 16 BUILD_DEPENDS="zlib-dev"
Hans-G?nter@22002 17
pankso@16271 18 HOST_ARCH="i486 arm"
pascal@15590 19
pankso@16271 20 case $ARCH in
pankso@16271 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
pankso@16271 22 esac
pankso@1118 23
pascal@24299 24 current_version()
pascal@24299 25 {
pascal@24299 26 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24299 27 sed '/tar.gz/!d;s|.*Lib ||;s|<.*||;q'
pascal@24299 28 }
pascal@24299 29
pankso@1118 30 # Rules to configure and make the package.
pankso@1118 31 compile_rules()
pankso@1118 32 {
Hans-G?nter@24298 33 mkdir _build &&
Hans-G?nter@24298 34 cd _build &&
Hans-G?nter@22002 35 cmake .. \
Hans-G?nter@24298 36 -D CMAKE_INSTALL_PREFIX=/usr \
Hans-G?nter@24298 37 -D CMAKE_BUILD_TYPE=Release \
Hans-G?nter@24298 38 -D BUILD_SHARED_LIBS=ON \
Hans-G?nter@24298 39 -D WITH_MP4=ON \
Hans-G?nter@24298 40 -D WITH_ASF=ON &&
Hans-G?nter@22002 41 make VERBOSE=1 &&
Hans-G?nter@22002 42 make install
pankso@1118 43 }
pankso@1118 44
pankso@1118 45 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1118 46 genpkg_rules()
pankso@1118 47 {
Hans-G?nter@24298 48 cook_copy_files *.so*
pankso@1118 49 }