wok-next view taglib/receipt @ rev 18633
libmms: apply patch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 27 00:31:34 2015 +0200 (2015-11-27) |
parents | 600aaedb561d |
children | 0a667524ce79 |
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 }