wok-next view taglib/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 65f5c0b7dcd4
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="taglib"
4 VERSION="1.11.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Audio tag library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://taglib.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://taglib.org/releases/$TARBALL"
14 BUILD_DEPENDS="cmake zlib-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DBUILD_SHARED_LIBS=ON \
24 -DWITH_MP4=ON \
25 -DWITH_ASF=ON \
26 .. &&
27 make VERBOSE=1 &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 taglib)
34 copy @std
35 DEPENDS="zlib"
36 TAGS="multimedia music tag"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }