wok-next view taglib/receipt @ rev 9080

openerp-web: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 16:50:03 2011 +0100 (2011-03-04)
parents 9f2fd936777b
children e22b160b5c81
line source
1 # SliTaz package receipt.
3 PACKAGE="taglib"
4 VERSION="1.6.3"
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 -DWITH_MP4=ON \
25 -DWITH_ASF=ON
26 make VERBOSE=1
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 }