wok annotate taglib-dev/receipt @ rev 9554

taglib-dev: fix category
author Paul Issott <paul@slitaz.org>
date Sun Apr 10 12:25:05 2011 +0000 (2011-04-10)
parents 04815ab9b79d
children 6722845f3d20
rev   line source
pankso@1118 1 # SliTaz package receipt.
pankso@1118 2
pankso@1118 3 PACKAGE="taglib-dev"
paul@9550 4 VERSION="1.7"
paul@9554 5 CATEGORY="development"
paul@9551 6 SHORT_DESC="Taglib devel files."
pankso@1118 7 MAINTAINER="pankso@slitaz.org"
paul@9550 8 SOURCE="taglib"
paul@9550 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@1118 10 WEB_SITE="http://developer.kde.org/~wheeler/taglib.html"
paul@9550 11 WGET_URL="http://developer.kde.org/~wheeler/files/src/$TARBALL"
paul@9550 12 DEPENDS="zlib gcc-lib-base"
paul@9550 13 BUILD_DEPENDS="zlib-dev cmake"
paul@9550 14 TAGS="multimedia music tag"
paul@9550 15
paul@9550 16 # Rules to configure and make the package.
paul@9550 17 compile_rules()
paul@9550 18 {
paul@9550 19 cd $src
paul@9550 20 mkdir build
paul@9550 21 cd build
paul@9550 22 cmake ../ \
paul@9550 23 -DCMAKE_INSTALL_PREFIX=/usr \
paul@9550 24 -DCMAKE_BUILD_TYPE=Release \
paul@9550 25 -DENABLE_STATIC=ON \
paul@9550 26 -DWITH_MP4=ON \
paul@9550 27 -DWITH_ASF=ON
paul@9550 28 make VERBOSE=1
paul@9550 29 make install
paul@9550 30 }
pankso@1118 31
pankso@1118 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1118 33 genpkg_rules()
pankso@1118 34 {
pankso@1118 35 mkdir -p $fs/usr/lib
pankso@1118 36 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
pankso@1118 37 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pankso@1118 38 cp -a $_pkg/usr/include $fs/usr
pankso@1118 39 cp -a $_pkg/usr/bin $fs/usr
pankso@1118 40 chmod +x $fs/usr/bin/*
pankso@1118 41 }