1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=7bf752532d26c9106f8039db95df3a6b
8 PKG_SOURCE_URL
:=http
://www.etherboot.org
/p910nd
9 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
12 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,P910ND
,p910nd
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
23 $(PKG_BUILD_DIR
)/.built
:
24 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
25 $(TARGET_CONFIGURE_OPTS
) \
26 CFLAGS
="$(TARGET_CFLAGS) -DLOCKFILE_DIR=\"\\\"/tmp\\\"\""
30 install -d
-m0755
$(IDIR_P910ND
)/etc
/default
31 install -m0644 .
/files
/p910nd.default
$(IDIR_P910ND
)/etc
/default
/p910nd
32 install -d
-m0755
$(IDIR_P910ND
)/etc
/init.d
33 install -m0755 .
/files
/p910nd.init
$(IDIR_P910ND
)/etc
/init.d
/p910nd
34 install -d
-m0755
$(IDIR_P910ND
)/usr
/sbin
35 ln
-sf p910nd
$(IDIR_P910ND
)/etc
/init.d
/S
$(PKG_INIT_PRIO
)p910nd
36 $(CP
) $(PKG_BUILD_DIR
)/p910nd
$(IDIR_P910ND
)/usr
/sbin
37 $(RSTRIP
) $(IDIR_P910ND
)
38 $(IPKG_BUILD
) $(IDIR_P910ND
) $(PACKAGE_DIR
)
41 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
42 rm -rf
$(PKG_BUILD_DIR
)/.built