39 lines
821 B
Makefile
39 lines
821 B
Makefile
# $OpenBSD: Makefile,v 1.6 2013/07/13 17:29:36 espie Exp $
|
|
|
|
COMMENT= library to split mp3/ogg files without decoding
|
|
|
|
DISTNAME= libmp3splt-0.5.4
|
|
|
|
SHARED_LIBS += mp3splt 0.0 # .0.5
|
|
REVISION = 0
|
|
|
|
CATEGORIES= audio
|
|
|
|
HOMEPAGE= http://mp3splt.sourceforge.net/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@cvs.openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= id3tag m mad ltdl ogg vorbis vorbisfile z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3splt/}
|
|
|
|
LIB_DEPENDS= audio/libmad \
|
|
devel/libtool,-ltdl \
|
|
audio/libvorbis \
|
|
audio/libid3tag
|
|
|
|
# required for static linking
|
|
LIB_DEPENDS += audio/libogg
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--with-ogg="${LOCALBASE}" \
|
|
--with-vorbis="${LOCALBASE}"
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|