wok-current diff taglib/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | 69c80106a6af |
children | 63de22f6cf26 |
line diff
1.1 --- a/taglib/receipt Sat Apr 05 22:48:39 2014 +0200 1.2 +++ b/taglib/receipt Wed Nov 17 10:14:59 2021 +0000 1.3 @@ -1,20 +1,22 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="taglib" 1.7 -VERSION="1.7" 1.8 +VERSION="1.11.1" 1.9 CATEGORY="multimedia" 1.10 +TAGS="multimedia music tag" 1.11 SHORT_DESC="Audio tag library." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="LGPL2.1" 1.14 +WEB_SITE="https://taglib.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://developer.kde.org/~wheeler/taglib.html" 1.18 -WGET_URL="http://developer.kde.org/~wheeler/files/src/$TARBALL" 1.19 -TAGS="multimedia music tag" 1.20 +WGET_URL="${WEB_SITE}releases/$TARBALL" 1.21 + 1.22 +DEPENDS="gcc-lib-base zlib" 1.23 +BUILD_DEPENDS="zlib-dev" 1.24 + 1.25 HOST_ARCH="i486 arm" 1.26 1.27 -DEPENDS="zlib gcc-lib-base" 1.28 -BUILD_DEPENDS="zlib-dev" 1.29 - 1.30 case $ARCH in 1.31 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;; 1.32 esac 1.33 @@ -22,20 +24,21 @@ 1.34 # Rules to configure and make the package. 1.35 compile_rules() 1.36 { 1.37 - mkdir build && cd build 1.38 - cmake \ 1.39 - -DCMAKE_INSTALL_PREFIX=/usr \ 1.40 - -DCMAKE_BUILD_TYPE=Release \ 1.41 - -DENABLE_STATIC=OFF \ 1.42 - -DWITH_MP4=ON \ 1.43 - -DWITH_ASF=ON \ 1.44 - .. && 1.45 - make VERBOSE=1 && make install 1.46 + mkdir build && 1.47 + cd build && 1.48 + cmake .. \ 1.49 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.50 + -DCMAKE_BUILD_TYPE=Release \ 1.51 + -DBUILD_SHARED_LIBS=ON \ 1.52 + -DWITH_MP4=ON \ 1.53 + -DWITH_ASF=ON && 1.54 + make VERBOSE=1 && 1.55 + make install 1.56 } 1.57 1.58 # Rules to gen a SliTaz package suitable for Tazpkg. 1.59 genpkg_rules() 1.60 { 1.61 mkdir -p $fs/usr/lib 1.62 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.63 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.64 }