pkgsrc/emulators/libretro-vecx/Makefile
nia a6eb39273a emulators/libretro-*: SunOS linker fixes.
libretro makefiles pass flags to the linker that aren't understood by
SunOS ld. Add BUILDLINK_TRANSFORMs to remove those flags.
2018-10-02 21:09:28 +00:00

27 lines
721 B
Makefile

# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:30 nia Exp $
DISTNAME= libretro-vecx-20180412
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
GITHUB_TAG= 25bfdd94900dcf5fd3d555ef686d857c0f087c2f
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://docs.libretro.com/library/vecx/
COMMENT= Libretro core for Vectrex emulation
LICENSE= gnu-gpl-v3
EXTRACT_USING= bsdtar
MAKE_FILE= Makefile.libretro
USE_TOOLS+= gmake
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=./link.T
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
${INSTALL_LIB} ${WRKSRC}/vecx_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/vecx_libretro.so
.include "../../mk/bsd.pkg.mk"