mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libid3tag: turn bep into recipe.
This commit is contained in:
@@ -1,32 +1,62 @@
|
||||
SUMMARY="The MAD id3tag library"
|
||||
DESCRIPTION="The MAD id3tag library"
|
||||
HOMEPAGE="http://www.underbit.com/products/mad/"
|
||||
SRC_URI="ftp://ftp.mars.org/pub/mpeg/libid3tag-0.15.1b.tar.gz"
|
||||
SRC_URI="ftp://ftp.mars.org/pub/mpeg/$portName-$portVersion.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
CHECKSUM_MD5="e5808ad997ba32c498803822078748c3"
|
||||
|
||||
PROVIDES="
|
||||
$portName = $portVersion
|
||||
lib:libid3tag = 0.3.0 compat = 0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:libtoolize
|
||||
cmd:autoconf
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
PATCHES="$portName-$portVersion.patchset"
|
||||
BUILD()
|
||||
{
|
||||
cd libid3tag-0.15.1b
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libid3tag-0.15.1b
|
||||
make install
|
||||
prepareInstalledDevelLib libid3tag
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd libid3tag-0.15.1b
|
||||
# make test
|
||||
# make check
|
||||
make test
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2000-2004 Underbit Technologies, Inc."
|
||||
|
||||
PROVIDES_devel="
|
||||
devel:libid3tag
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
$portName == $portVersion base
|
||||
"
|
||||
|
||||
22
media-libs/libid3tag/patches/libid3tag-0.15.1b.patchset
Normal file
22
media-libs/libid3tag/patches/libid3tag-0.15.1b.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 2e29df8743bf7230cc122b0a6a255f625e8f46a7 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sun, 30 Mar 2014 13:20:55 +0200
|
||||
Subject: AM_CONFIG_HEADER > AC_CONFIG_HEADER
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index a0a0237..a754f06 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -28,7 +28,7 @@ AC_CONFIG_SRCDIR([id3tag.h])
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
-AM_CONFIG_HEADER([config.h])
|
||||
+AC_CONFIG_HEADER([config.h])
|
||||
|
||||
dnl System type.
|
||||
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user