wok-4.x annotate taglib/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | e22b160b5c81 |
children |
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" |
pankso@1118 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@1118 | 9 WEB_SITE="http://developer.kde.org/~wheeler/taglib.html" |
pankso@1118 | 10 WGET_URL="http://developer.kde.org/~wheeler/files/src/$TARBALL" |
pascal@5007 | 11 DEPENDS="zlib gcc-lib-base" |
slaxemulator@8837 | 12 BUILD_DEPENDS="zlib-dev cmake" |
jozee@4973 | 13 TAGS="multimedia music tag" |
pankso@1118 | 14 |
pankso@1118 | 15 # Rules to configure and make the package. |
pankso@1118 | 16 compile_rules() |
pankso@1118 | 17 { |
pankso@1118 | 18 cd $src |
slaxemulator@8837 | 19 mkdir build |
slaxemulator@8837 | 20 cd build |
slaxemulator@8837 | 21 cmake ../ \ |
slaxemulator@8837 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@8837 | 23 -DCMAKE_BUILD_TYPE=Release \ |
paul@9550 | 24 -DENABLE_STATIC=OFF \ |
slaxemulator@8837 | 25 -DWITH_MP4=ON \ |
slaxemulator@8837 | 26 -DWITH_ASF=ON |
slaxemulator@8837 | 27 make VERBOSE=1 |
slaxemulator@8837 | 28 make install |
pankso@1118 | 29 } |
pankso@1118 | 30 |
pankso@1118 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1118 | 32 genpkg_rules() |
pankso@1118 | 33 { |
pankso@1118 | 34 mkdir -p $fs/usr/lib |
pankso@1118 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1118 | 36 } |