wok-stable view taglib/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents e22b160b5c81
children
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://developer.kde.org/~wheeler/taglib.html"
10 WGET_URL="http://developer.kde.org/~wheeler/files/src/$TARBALL"
11 DEPENDS="zlib gcc-lib-base"
12 BUILD_DEPENDS="zlib-dev cmake"
13 TAGS="multimedia music tag"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir build
20 cd build
21 cmake ../ \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DENABLE_STATIC=OFF \
25 -DWITH_MP4=ON \
26 -DWITH_ASF=ON
27 make VERBOSE=1
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }