wok-next view libid3tag/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0e7893ac206d |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libid3tag"
4 VERSION="0.15.1b"
5 CATEGORY="multimedia"
6 SHORT_DESC="ID3 tag manipulation library"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.underbit.com/products/mad/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.sourceforge.net/mad/$TARBALL"
14 BUILD_DEPENDS="zlib-dev gfortran"
15 SPLIT="libid3tag-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install || return 1
23 # libid3tag.pc
24 mkdir -p $install/usr/lib/pkgconfig/
25 sed "s|@VERSION@|$VERSION|" $stuff/id3tag.pc.in > $install/usr/lib/pkgconfig/id3tag.pc
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libid3tag)
31 copy @std
32 DEPENDS="zlib"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libid3tag zlib-dev"
37 ;;
38 esac
39 }