Add pkg_install as a tool.

This commit is contained in:
uebayasi 2009-12-01 09:01:45 +00:00
parent 3cf07ff872
commit ba9e6e8ae6
7 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:45 uebayasi Exp $
SUBDIR= lib .WAIT pkg_add pkg_create pkg_delete pkg_info
# XXX pkg_admin
.include <bsd.subdir.mk>

View File

@ -0,0 +1,3 @@
HOST_LDFLAGS:= -L../lib -linstall
.include "${NETBSDSRCDIR}/external/bsd/pkg_install/sbin/Makefile.inc"

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}pkg_add
HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_add
.include "${.CURDIR}/../Makefile.inc"
.include "${.CURDIR}/../../Makefile.host"

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}pkg_admin
HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_admin
.include "${.CURDIR}/../Makefile.inc"
.include "${.CURDIR}/../../Makefile.host"

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}pkg_create
HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_create
.include "${.CURDIR}/../Makefile.inc"
.include "${.CURDIR}/../../Makefile.host"

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}pkg_delete
HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_delete
.include "${.CURDIR}/../Makefile.inc"
.include "${.CURDIR}/../../Makefile.host"

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.1 2009/12/01 09:01:46 uebayasi Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}pkg_info
HOST_SRCDIR= external/bsd/pkg_install/sbin/pkg_info
.include "${.CURDIR}/../Makefile.inc"
.include "${.CURDIR}/../../Makefile.host"