pkgsrc/devel/libuuid/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2016/09/12 07:36:55 wiz Exp $
DISTNAME= util-linux-2.28.2
2011-05-12 14:26:15 +02:00
PKGNAME= ${DISTNAME:S/util-linux/libuuid/}
CATEGORIES= devel
MASTER_SITES= http://www.kernel.org/pub/linux/utils/util-linux/v2.28/
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
2011-05-12 14:26:15 +02:00
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-ncurses
PKGCONFIG_OVERRIDE+= libuuid/uuid.pc.in
2011-05-12 14:26:15 +02:00
BUILD_TARGET= libuuid.la libuuid/uuid.pc
INSTALLATION_DIRS+= include/uuid lib/pkgconfig ${PKGMANDIR}/man3
CONFIG_SHELL= bash
USE_TOOLS+= bash:build
2011-05-12 14:26:15 +02:00
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"