wok-next view libid3tag/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | 25deb7c6df08 |
children | 33293021c26d |
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="$SF_MIRROR/mad/$TARBALL"
14 BUILD_DEPENDS="zlib-dev gfortran"
15 SPLIT="$PACKAGE-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 }