freewrt_2_0
|
Last change
on this file since 621d5d2 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 | #-
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= digitemp
|
|---|
| 10 | PKG_VERSION:= 3.3.2
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 0b6cfb36d198767836de54d9fb11bbdb
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= http://www.digitemp.com/software/linux/
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/mk/package.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,DIGITEMP,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.configured:
|
|---|
| 22 | (cd $(WRKBUILD); \
|
|---|
| 23 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 24 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 25 | CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
|---|
| 26 | LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
|---|
| 27 | make ds2490 \
|
|---|
| 28 | );
|
|---|
| 29 | touch $@
|
|---|
| 30 |
|
|---|
| 31 | $(WRKBUILD)/.built:
|
|---|
| 32 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 33 | LD=$(TARGET_CC)
|
|---|
| 34 | touch $@
|
|---|
| 35 |
|
|---|
| 36 | $(IPKG_DIGITEMP):
|
|---|
| 37 | mkdir -p $(IDIR_DIGITEMP)/usr/sbin
|
|---|
| 38 | install -m0755 $(WRKBUILD)/digitemp_DS2490 $(IDIR_DIGITEMP)/usr/sbin/digitemp_DS2490
|
|---|
| 39 | $(RSTRIP) $(IDIR_DIGITEMP)
|
|---|
| 40 | $(IPKG_BUILD) $(IDIR_DIGITEMP) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.