wok-current annotate taglib/receipt @ rev 16472

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