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