pkgsrc/audio/ladspa/Makefile

41 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.19 2022/04/23 21:18:09 tnn Exp $
DISTNAME= ladspa_sdk_1.17
PKGNAME= ${DISTNAME:S/_sdk_/-/}
DIST_SUBDIR= ${DISTNAME} # remove on next update
2022-03-28 12:43:29 +02:00
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://www.ladspa.org/download/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.ladspa.org/
COMMENT= Linux Audio Developers Simple Plugin API
LICENSE= gnu-lgpl-v2.1
WRKSRC= ${WRKDIR}/ladspa_sdk_${PKGVERSION_NOREV}
BUILD_DIRS= src
USE_TOOLS+= gmake
USE_LIBTOOL= yes
2006-05-09 18:46:07 +02:00
USE_LANGUAGES= c c++
MAKE_FILE= Makefile
BUILD_TARGET= targets
TEST_TARGET= test
INSTALLATION_DIRS+= bin include
INSTALLATION_DIRS+= lib/ladspa
INSTALLATION_DIRS+= share/doc/ladspa
do-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/ladspa
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/plugins/*.la ${DESTDIR}${PREFIX}/lib/ladspa
${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/src/ladspa.h ${DESTDIR}${PREFIX}/include
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
LDFLAGS+= ${BUILDLINK_LDADD.dl}
.include "../../mk/bsd.pkg.mk"