perl-*: Update dependencies
[feed/packages.git] / lang / perl-dbi / Makefile
1 #
2 # Copyright (C) 2014, 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=perl-dbi
11 PKG_VERSION:=1.633
12 PKG_RELEASE:=4
13
14 PKG_SOURCE_URL:=http://www.cpan.org/authors/id/T/TI/TIMB/
15 PKG_SOURCE:=DBI-$(PKG_VERSION).tar.gz
16 PKG_MD5SUM:=b4fe13b9a51c1446c5f3cf93e69a2044
17
18 PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl
19 PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/DBI-$(PKG_VERSION)
22 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/DBI-$(PKG_VERSION)
23
24 include $(INCLUDE_DIR)/package.mk
25 include $(INCLUDE_DIR)/host-build.mk
26 include ../perl/perlmod.mk
27
28 define Package/perl-dbi
29 SUBMENU:=Perl
30 SECTION:=lang
31 CATEGORY:=Languages
32 TITLE:=Database independent interface for Perl
33 URL:=http://search.cpan.org/dist/DBI/
34 DEPENDS:=perl +perlbase-base +perlbase-config +perlbase-cwd +perlbase-data +perlbase-dynaloader +perlbase-errno +perlbase-essential +perlbase-fcntl +perlbase-file +perlbase-io +perlbase-ipc +perlbase-scalar +perlbase-storable +perlbase-symbol +perlbase-tie +perlbase-universal +perlbase-utf8
35 endef
36
37 define Build/Configure
38 $(call perlmod/Configure,,)
39 endef
40
41 define Build/Compile
42 $(call perlmod/Compile,,)
43 endef
44
45 define Host/Configure
46 $(call perlmod/host/Configure,,)
47 endef
48
49 define Host/Compile
50 $(call perlmod/host/Compile,,)
51 endef
52
53 define Host/Install
54 $(call perlmod/host/Install,$(1),)
55 endef
56
57 define Package/perl-dbi/install
58 $(call perlmod/Install,$(1),DB* auto/DBI,DBI/W32ODBC.pm auto/DBI/*.h)
59 endef
60
61
62 $(eval $(call BuildPackage,perl-dbi))
63 $(eval $(call HostBuild))