wok-current annotate taglib/receipt @ rev 22056
updated ttyload (0.5 -> 0.5.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 15:56:36 2019 +0100 (2019-10-23) |
parents | 69c80106a6af |
children | 63de22f6cf26 |
rev | line source |
---|---|
pankso@1118 | 1 # SliTaz package receipt. |
pankso@1118 | 2 |
pankso@1118 | 3 PACKAGE="taglib" |
Hans-G?nter@22002 | 4 VERSION="1.11.1" |
pankso@1118 | 5 CATEGORY="multimedia" |
Hans-G?nter@22002 | 6 TAGS="multimedia music tag" |
pankso@1118 | 7 SHORT_DESC="Audio tag library." |
pankso@1118 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15590 | 9 LICENSE="LGPL2.1" |
Hans-G?nter@22002 | 10 WEB_SITE="https://taglib.org/" |
Hans-G?nter@22002 | 11 |
pankso@1118 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22002 | 13 WGET_URL="${WEB_SITE}releases/$TARBALL" |
Hans-G?nter@22002 | 14 |
Hans-G?nter@22002 | 15 DEPENDS="gcc-lib-base zlib" |
Hans-G?nter@22002 | 16 BUILD_DEPENDS="zlib-dev" |
Hans-G?nter@22002 | 17 |
pankso@16271 | 18 HOST_ARCH="i486 arm" |
pascal@15590 | 19 |
pankso@16271 | 20 case $ARCH in |
pankso@16271 | 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;; |
pankso@16271 | 22 esac |
pankso@1118 | 23 |
pankso@1118 | 24 # Rules to configure and make the package. |
pankso@1118 | 25 compile_rules() |
pankso@1118 | 26 { |
Hans-G?nter@22002 | 27 mkdir build && |
Hans-G?nter@22002 | 28 cd build && |
Hans-G?nter@22002 | 29 cmake .. \ |
Hans-G?nter@22002 | 30 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@22002 | 31 -DCMAKE_BUILD_TYPE=Release \ |
Hans-G?nter@22002 | 32 -DBUILD_SHARED_LIBS=ON \ |
Hans-G?nter@22002 | 33 -DWITH_MP4=ON \ |
Hans-G?nter@22002 | 34 -DWITH_ASF=ON && |
Hans-G?nter@22002 | 35 make VERBOSE=1 && |
Hans-G?nter@22002 | 36 make install |
pankso@1118 | 37 } |
pankso@1118 | 38 |
pankso@1118 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1118 | 40 genpkg_rules() |
pankso@1118 | 41 { |
pankso@1118 | 42 mkdir -p $fs/usr/lib |
Hans-G?nter@22002 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@1118 | 44 } |