32 lines
839 B
Makefile
32 lines
839 B
Makefile
# $OpenBSD: Makefile,v 1.34 2008/01/04 17:48:33 espie Exp $
|
|
|
|
COMMENT= u-law to gsm encoding audio converter and library
|
|
|
|
DISTNAME= gsm-1.0.10
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ftp://ftp.digium.com/pub/gnophone/ \
|
|
ftp://ftp.gbnet.net/pub/digium/telephony/gnophone/
|
|
SHARED_LIBS= gsm 1.0
|
|
|
|
# Missing redistribution terms in license
|
|
PERMIT_PACKAGE_CDROM= no redistribution
|
|
PERMIT_PACKAGE_FTP= no redistribution
|
|
PERMIT_DISTFILES_CDROM= no redistribution
|
|
PERMIT_DISTFILES_FTP= no redistribution
|
|
WANTLIB= c
|
|
|
|
MAKE_FLAGS= CC="${CC}" DEBUG="${CFLAGS}" LDINC='-L$$(LIB)' \
|
|
LIBgsm_VERSION=${LIBgsm_VERSION}
|
|
|
|
FAKE_FLAGS= INSTALL_ROOT="${WRKINST}${PREFIX}"
|
|
|
|
WRKDIST= ${WRKDIR}/gsm-1.0-pl10
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
|
|
MAKE_ENV+= NO_SHARED_LIBS=Yes
|
|
.endif
|