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