source: trunk/package/nozomi/Makefile @ 6582

Last change on this file since 6582 was 6582, checked in by nbd, 10 years ago

add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places

  • Property svn:copyright set to Copyright (C) 2006 OpenWrt.org
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id$
8
9include $(TOPDIR)/rules.mk
10include $(INCLUDE_DIR)/kernel.mk
11
12PKG_NAME:=nozomi
13PKG_VERSION:=060209
14PKG_RELEASE:=1
15
16PKG_SOURCE:=nozomi_$(PKG_VERSION).tar.gz
17PKG_SOURCE_URL:=http://www.pharscape.org/3G
18PKG_MD5SUM:=90e4d8f389a18b5579f7234a23e32e99
19
20include $(INCLUDE_DIR)/package.mk
21
22PKG_UNPACK:=mkdir -p $(PKG_BUILD_DIR); $(ZCAT) $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
23
24define KernelPackage/nozomi
25  SUBMENU:=Other modules
26  TITLE:=Option Globetrotter HSDPA driver
27  DESCRIPTION:=Option Globetrotter HSDPA driver
28  URL:=http://www.pharscape.org/
29  DEPENDS:=@LINUX_2_4 @PCMCIA_SUPPORT
30  VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
31  FILES:=$(PKG_BUILD_DIR)/noz.$(LINUX_KMOD_SUFFIX)
32  AUTOLOAD:=$(call AutoLoad,70,noz)
33endef
34
35define Build/Configure
36        $(CP) ./files/Makefile $(PKG_BUILD_DIR)/
37endef
38
39define Build/Compile
40        $(MAKE) -C "$(LINUX_DIR)" \
41                CROSS_COMPILE="$(TARGET_CROSS)" \
42                ARCH="$(LINUX_KARCH)" \
43                PATH="$(TARGET_PATH)" \
44                SUBDIRS="$(PKG_BUILD_DIR)" \
45                modules
46endef
47
48$(eval $(call KernelPackage,nozomi))
Note: See TracBrowser for help on using the repository browser.