Convert packages to new template
[openwrt.git] / package / nvram / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=nvram
6 PKG_RELEASE:=1
7
8 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
9
10 include $(TOPDIR)/package/rules.mk
11
12 define Package/nvram
13 SECTION:=base
14 # CATEGORY:=FIXME
15 DEFAULT:=n
16 TITLE:=Broadcom config utility
17 DESCRIPTION:=control utility for broadcom's 'nvram' config area
18 endef
19
20 define Build/Prepare
21 mkdir -p $(PKG_BUILD_DIR)
22 $(CP) ./src/* $(PKG_BUILD_DIR)
23 endef
24
25 $(IPKG_NVRAM):
26 define Package/nvram/install
27 install -d -m0755 $(IDIR_NVRAM)/usr/lib
28 install -d -m0755 $(IDIR_NVRAM)/usr/sbin
29 $(CP) $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib
30 install -m0755 $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin
31 endef
32
33 compile-targets: install-dev
34 install-dev: $(PKG_BUILD_DIR)/.built
35 mkdir -p $(STAGING_DIR)/usr/lib
36 $(CP) $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib
37
38
This page took 0.038726 seconds and 5 git commands to generate.