dc5eae8bbf
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12170 3c298f89-4303-0410-b956-a3cf2f4a3e73
42 lines
811 B
Makefile
42 lines
811 B
Makefile
# $Id$
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=perl-dbi
|
|
PKG_VERSION:=1.604
|
|
PKG_RELEASE:=1
|
|
PKG_MD5SUM:=358511d60eb3daba913d49236c469802
|
|
|
|
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/
|
|
PKG_SOURCE:=DBI-$(PKG_VERSION).tar.gz
|
|
PKG_CAT:=zcat
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/DBI-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../perl/perlmod.mk
|
|
|
|
define Package/perl-dbi
|
|
SUBMENU:=Perl
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=Database independent interface for Perl
|
|
URL:=http://search.cpan.org/~timb/DBI/
|
|
DEPENDS:=perl
|
|
endef
|
|
|
|
define Build/Configure
|
|
$(call perlmod/Configure,,)
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(call perlmod/Compile,,)
|
|
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))
|