pkgsrc/sysutils/libpciaccess/Makefile

34 lines
926 B
Makefile

# $NetBSD: Makefile,v 1.25 2015/10/11 07:00:19 tnn Exp $
DISTNAME= libpciaccess-0.13.4
PKGREVISION= 1
CATEGORIES= sysutils x11
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= PCI access utility library from X.org
LICENSE= mit AND x11
DEPENDS+= pciids-[0-9]*:../../misc/pciids
###
### XXX This list is probably not exhaustive.
###
ONLY_FOR_PLATFORM= FreeBSD-*-i386 OpenBSD-*-i386
ONLY_FOR_PLATFORM+= FreeBSD-*-x86_64 OpenBSD-*-x86_64
ONLY_FOR_PLATFORM+= DragonFly-*-i386 DragonFly-*-x86_64
ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-*
ONLY_FOR_PLATFORM+= NetBSD-*-*
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-pciids-path=${PREFIX}/share/pciids
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= pciaccess.pc.in
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"