1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Strip library

- Add .so link to .so.N library
This commit is contained in:
Dmitry Marakasov 2014-07-28 01:20:06 +00:00
parent 89baf77680
commit bbd974d44e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363109

View File

@ -3,7 +3,7 @@
PORTNAME= avbin
PORTVERSION= 7
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://mirror.amdmi3.ru/distfiles/
@ -15,7 +15,9 @@ COMMENT= FFmpeg wrapper
LIB_DEPENDS= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0
LIBNAME= libavbin.so.${PORTVERSION}
PLIST_FILES= lib/${LIBNAME} include/avbin.h
PLIST_FILES= include/avbin.h \
lib/${LIBNAME} \
lib/libavbin.so
USE_LDCONFIG= yes
PORTDOCS= *
@ -37,7 +39,8 @@ do-build:
-lavcodec0 -lavformat0
do-install:
${INSTALL_DATA} ${WRKSRC}/${LIBNAME} ${STAGEDIR}${PREFIX}/lib/
${INSTALL_PROGRAM} ${WRKSRC}/${LIBNAME} ${STAGEDIR}${PREFIX}/lib/
${LN} -s ${LIBNAME} ${STAGEDIR}${PREFIX}/lib/libavbin.so
${INSTALL_DATA} ${WRKSRC}/include/avbin.h ${STAGEDIR}${PREFIX}/include/
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/