include $(TOPDIR)/rules.mk PKG_NAME:=perl-device-usb PKG_VERSION:=0.36 PKG_RELEASE:=2 PKG_MD5SUM:=aa91bee777f7ed7a18225a84f8795344 PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/G/GW/GWADEJ/ PKG_SOURCE:=Device-USB-$(PKG_VERSION).tar.gz PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Device-USB-$(PKG_VERSION) # PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install include $(INCLUDE_DIR)/package.mk include ../../feeds/packages/lang/perl/perlmod.mk define Package/perl-device-usb SUBMENU:=Perl SECTION:=lang CATEGORY:=Languages TITLE:=A module that enables access to the libusb DEPENDS:=perl endef define Package/perl-device-usb/description A module that enables access to the libusb endef define Build/Configure $(call perlmod/Configure,-n,) endef define Build/Compile $(call perlmod/Compile,,) endef define Package/perl-device-usb/install $(call perlmod/Install,$(1),Device auto/Device) endef $(eval $(call BuildPackage,perl-device-usb))