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