wok view taglib/receipt @ rev 19920

memtest: VCPI support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 19 22:14:58 2017 +0200 (2017-04-19)
parents 600aaedb561d
children 0462682e79b7
line source
1 # SliTaz package receipt.
3 PACKAGE="taglib"
4 VERSION="1.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="Audio tag library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://developer.kde.org/~wheeler/taglib.html"
11 WGET_URL="http://developer.kde.org/~wheeler/files/src/$TARBALL"
12 TAGS="multimedia music tag"
13 HOST_ARCH="i486 arm"
15 DEPENDS="zlib gcc-lib-base"
16 BUILD_DEPENDS="zlib-dev"
18 case $ARCH in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir build && cd build
26 cmake \
27 -DCMAKE_INSTALL_PREFIX=/usr \
28 -DCMAKE_BUILD_TYPE=Release \
29 -DENABLE_STATIC=OFF \
30 -DWITH_MP4=ON \
31 -DWITH_ASF=ON \
32 .. &&
33 make VERBOSE=1 && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }