wok-next view libid3tag/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents daa754d4b004
children 25deb7c6df08
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 \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make && 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 }