pkgsrc/devel/liboil/Makefile
2008-07-30 09:53:36 +00:00

37 lines
894 B
Makefile

# $NetBSD: Makefile,v 1.18 2008/07/30 09:53:36 wiz Exp $
#
DISTNAME= liboil-0.3.15
CATEGORIES= devel
MASTER_SITES= http://liboil.freedesktop.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://liboil.freedesktop.org/wiki/
COMMENT= Library of simple, CPU-optimized functions
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_FEATURES= asprintf
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --disable-glib # Only used by examples.
PKGCONFIG_OVERRIDE+= liboil-uninstalled.pc.in
PKGCONFIG_OVERRIDE+= liboil.pc.in
TEST_TARGET= check
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MSunOS-5.8-*)
SUBST_CLASSES+= solaris
SUBST_STAGE.solaris= pre-configure
SUBST_MESSAGE.solaris= Replacing <stdint.h> with <inttypes.h>
SUBST_FILES.solaris= liboil/*.h
SUBST_SED.solaris= -e 's,<stdint\.h>,<inttypes.h>,'
.endif
.include "../../mk/bsd.pkg.mk"