Added libid3tag-0.15.1b build template.

--HG--
extra : convert_revision : db4424d98fe4983b9b08f26aabcea4a33d42021e
This commit is contained in:
Juan RP 2009-12-30 23:38:07 +01:00
parent 86b553c73a
commit 56743db9eb
5 changed files with 54 additions and 0 deletions

1
srcpkgs/libid3tag-devel Symbolic link
View File

@ -0,0 +1 @@
libid3tag

View File

@ -0,0 +1,2 @@
abi_depends=">=0.15.1b"
api_depends="${abi_depends}"

View File

@ -0,0 +1,10 @@
prefix=/usr
exec_prefix=/usr/bin
libdir=/usr/lib
includedir=/usr/include
Name: ID3TAG
Description: libid3tag - ID3 tag manipulation library
Version: 0.15.0b
Libs: -L${libdir} -lid3tag -zf
Cflags:

View File

@ -0,0 +1,18 @@
# Template file for 'libid3tag-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run zlib-devel
Add_dependency run libid3tag
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,23 @@
# Template file for 'libid3tag'
pkgname=libid3tag
version=0.15.1b
distfiles="ftp://ftp.mars.org/pub/mpeg/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="ID3 tag library, part of MAD (MPEG Audio Decoder)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151
long_desc="
libid3tag is a library for reading and (eventually) writing ID3
tags, both ID3v1 and the various versions of ID3v2."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency build pkg-config
Add_dependency build zlib-devel
post_install()
{
install -D -m644 ${FILESDIR}/id3tag.pc \
${DESTDIR}/usr/lib/pkgconfig/id3tag.pc || return 1
}