more perl packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11628 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
42
lang/perl-dbi/Makefile
Normal file
42
lang/perl-dbi/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# $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)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
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))
|
Reference in New Issue
Block a user