f093b911dc
libuuid: - return correct value for uuid_generate_time_safe [Romain Bouvier]
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2015/09/30 20:38:16 wiz Exp $
|
|
|
|
DISTNAME= util-linux-2.27
|
|
PKGNAME= ${DISTNAME:S/util-linux/libuuid/}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.kernel.org/pub/linux/utils/util-linux/v${PKGVERSION_NOREV}/
|
|
EXTRACT_SUFX= .tar.xz
|
|
EXTRACT_USING= gtar
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/karelzak/util-linux
|
|
COMMENT= Generate unique identifiers for objects
|
|
LICENSE= modified-bsd
|
|
|
|
USE_GCC_RUNTIME= yes
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --without-ncurses
|
|
|
|
PKGCONFIG_OVERRIDE+= libuuid/uuid.pc.in
|
|
|
|
BUILD_TARGET= libuuid.la libuuid/uuid.pc
|
|
INSTALLATION_DIRS+= include/uuid lib/pkgconfig ${PKGMANDIR}/man3
|
|
CONFIG_SHELL= bash
|
|
USE_TOOLS+= bash:build
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
|
|
BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./libuuid/src/libuuid.sym
|
|
.endif
|
|
|
|
do-install:
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libuuid.la \
|
|
${DESTDIR}${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/libuuid/src/uuid.h \
|
|
${DESTDIR}${PREFIX}/include/uuid/uuid.h
|
|
${INSTALL_DATA} ${WRKSRC}/libuuid/uuid.pc \
|
|
${DESTDIR}${PREFIX}/lib/pkgconfig/uuid.pc
|
|
set -e; for f in ${WRKSRC}/libuuid/man/*.3; do \
|
|
${INSTALL_MAN} $${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|