[packages] perl-dbi: add dependency on perlbase-essential (closes: #5663)
[openwrt/svn-archive/archive.git] / lang / perl-dbi / Makefile
1
2 include $(TOPDIR)/rules.mk
3
4 PKG_NAME:=perl-dbi
5 PKG_VERSION:=1.604
6 PKG_RELEASE:=1
7 PKG_MD5SUM:=358511d60eb3daba913d49236c469802
8
9 PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/
10 PKG_SOURCE:=DBI-$(PKG_VERSION).tar.gz
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/DBI-$(PKG_VERSION)
13
14 include $(INCLUDE_DIR)/package.mk
15 include ../perl/perlmod.mk
16
17 define Package/perl-dbi
18 SUBMENU:=Perl
19 SECTION:=lang
20 CATEGORY:=Languages
21 TITLE:=Database independent interface for Perl
22 URL:=http://search.cpan.org/~timb/DBI/
23 DEPENDS:=perl +perlbase-essential
24 endef
25
26 define Build/Configure
27 $(call perlmod/Configure,,)
28 endef
29
30 define Build/Compile
31 $(call perlmod/Compile,,)
32 endef
33
34 define Package/perl-dbi/install
35 $(call perlmod/Install,$(1),DB* auto/DBI,DBI/W32ODBC.pm auto/DBI/*.h)
36 endef
37
38
39 $(eval $(call BuildPackage,perl-dbi))