Browse Source

perl-dbi: Build host package

Signed-off-by: Marcel Denia <naoir@gmx.net>
lilik-openwrt-22.03
Marcel Denia 11 years ago
parent
commit
867365dbde
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      lang/perl-dbi/Makefile

+ 15
- 0
lang/perl-dbi/Makefile View File

@ -19,8 +19,10 @@ PKG_LICENSE:=GPLv1+ ARTISTIC
PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/DBI-$(PKG_VERSION)
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/DBI-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include ../perl/perlmod.mk
define Package/perl-dbi
@ -40,9 +42,22 @@ define Build/Compile
$(call perlmod/Compile,,)
endef
define Host/Configure
$(call perlmod/host/Configure,,)
endef
define Host/Compile
$(call perlmod/host/Compile,,)
endef
define Host/Install
$(call perlmod/host/Install,$(1),)
endef
define Package/perl-dbi/install
$(call perlmod/Install,$(1),DB* auto/DBI,DBI/W32ODBC.pm auto/DBI/*.h)
endef
$(eval $(call BuildPackage,perl-dbi))
$(eval $(call HostBuild))

Loading…
Cancel
Save