id3lib4 stable port information

Package: id3lib4
Version: 3.8.3
Revision: 1014
Source: mirror:sourceforge:id3lib/id3lib-%v.tar.gz
Source-MD5: 19f27ddd2dda4b2d26a559a4f0f402a7
SourceDirectory: id3lib-%v
BuildDepends: libiconv-dev
Depends: %N-shlibs (>= %v-%r), libiconv
Conflicts: id3lib37, id3lib3.7
Replaces: id3lib37, id3lib3.7
GCC: 4.0
PatchScript: <<
### Fix relink
perl -pi.bak -e 's,need_relink=yes,need_relink=no,g' ltmain.sh
### Allow two level lib
perl -pi.bak -e 's,\$nonopt \$\(test "x\$module" = xyes \&\& echo -bundle \|\| echo -dynamiclib\) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$linker_flags -install_name \$rpath/\$soname \$verstring,\$nonopt \$\(test "x\$module" = xyes \&\& echo -bundle \$allow_undefined_flag \|\| echo -dynamiclib\) -o \$lib \$libobjs \$deplibs\$linker_flags \$\(test "x\$module" \!= xyes \&\& echo -install_name \$rpath/\$soname \$verstring),g' configure
### Fix lib versioning
perl -pi.bak -e 's,-release \$\(LT_RELEASE\), ,g' src/Makefile.in
<<
NoSetLDFLAGS: true
SetLIBS: -L%p/lib -lz
ConfigureParams: --with-pic --enable-shared --enable-static --mandir=%i/share/man --infodir=%p/share/info --libexecdir=%p/lib
DocFiles: COPYING AUTHORS README* ChangeLog HISTORY THANKS TODO
Description: Library for manipulating ID3v1 and ID3v2 tags
InstallScript: <<
make install prefix=%i
<<

SplitOff: <<
Package: %N-shlibs
Depends: libiconv
Description: Shared libraries for manipulating ID3v1 and ID3v2 tags
DocFiles: COPYING
Files: lib/libid3.*.dylib
Shlibs: %p/lib/libid3.3.dylib 4.0.0 %n (>= 3.8.3-1)
<<

SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (>= %v-%r)
BuildDependsOnly: true
Conflicts: id3lib37-dev, id3lib3.7-dev
Replaces: id3lib37-dev, id3lib3.7-dev
Description: Development files for id3lib
DocFiles: COPYING
Files: <<
lib
include
<<
<<
SplitOff3: <<
Package: %N-doc
Conflicts: id3lib37-doc, id3lib3.7-doc
Replaces: id3lib37-doc, id3lib3.7-doc
Description: Documentation for id3lib *FIXME*
DocFiles: COPYING AUTHORS README ChangeLog HISTORY THANKS TODO
<<
DescDetail: <<
An open-source, cross-platform software development library for reading,
writing, and manipulating ID3v1 and ID3v2 tags. It is an on-going project
whose primary goals are full compliance with the ID3v2 standard, portability
across several platforms, and providing a powerful and feature-rich API with
a highly stable and efficient implementation.
<<
License: GPL
Maintainer: Chris Zubrzycki
Homepage: http://id3lib.sourceforge.net/