wok-next annotate libid3tag/receipt @ rev 20577

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