wok-current view taglib/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (2 weeks ago)
parents ac8ca9758df1
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 x86_64"
20 case $ARCH in
21 i?86|x86_64) 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 }