pkgsrc/databases/tcl-fbsql/Makefile
marino 62b833e895 databases/tcl-fbsql: Build library with -rpath
Solves (new) PKG_DEVELOPER check error message:
ERROR: lib/tcl/fbsql.so: missing library: libtcl8x.so
2012-08-19 07:01:09 +00:00

31 lines
782 B
Makefile

# $NetBSD: Makefile,v 1.25 2012/08/19 07:01:09 marino Exp $
DISTNAME= fbsql.c
PKGNAME= tcl-fbsql-1.06
PKGREVISION= 6
CATEGORIES= databases
MASTER_SITES= http://www.fastbase.co.nz/fbsql/
EXTRACT_SUFX=
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.fastbase.co.nz/fbsql/index.html
COMMENT= Tcl interface to MySQL
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/src
USE_LIBTOOL= YES
DIST_SUBDIR= ${PKGNAME_NOREV}
INSTALLATION_DIRS= lib/tcl
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
${CP} ${_DISTDIR}/fbsql.c ${WRKSRC}/
do-install:
libtool --mode=install ${INSTALL_LIB} ${WRKSRC}/fbsql.la ${DESTDIR}${PREFIX}/lib/tcl
.include "../../mk/mysql.buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"