1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/audio/libg722/Makefile
Tobias Kortkamp b1e585b0f2 audio/libg722: Use INSTALL_LIB to install the shared library
PR:		233780
Submitted by:	sobomax (based on)
Approved by:	ports@sippysoft.com (maintainer timeout, 1.5 months)
2019-01-17 13:48:46 +00:00

34 lines
882 B
Makefile

# Created by: sobomax
# $FreeBSD$
PORTNAME= libg722
DISTVERSIONPREFIX= v_
DISTVERSION= 1_0_2
PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= ports@sippysoft.com
COMMENT= Software G.722 decoding/encoding library
LICENSE= PUBLIC_DOMAIN
LICENSE_NAME= ${LICENSE:S/_/ /}
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USE_GITHUB= yes
GH_ACCOUNT= sippy
USE_LDCONFIG= yes
MAKE_ENV= MAKEOBJDIR=${WRKDIR}
do-install:
${INSTALL_DATA} ${WRKSRC}/g722.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/g722_decoder.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/g722_encoder.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKDIR}/libg722.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKDIR}/libg722.so.0 ${STAGEDIR}${PREFIX}/lib
${LN} -sf libg722.so.0 ${STAGEDIR}${PREFIX}/lib/libg722.so
.include <bsd.port.mk>