wok-6.x view taglib/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | 69c80106a6af |
children | 63de22f6cf26 |
line source
1 # SliTaz package receipt.
3 PACKAGE="taglib"
4 VERSION="1.11.1"
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"
20 case $ARCH in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir build &&
28 cd build &&
29 cmake .. \
30 -DCMAKE_INSTALL_PREFIX=/usr \
31 -DCMAKE_BUILD_TYPE=Release \
32 -DBUILD_SHARED_LIBS=ON \
33 -DWITH_MP4=ON \
34 -DWITH_ASF=ON &&
35 make VERBOSE=1 &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }