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:
825 bytes
|
| 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:= hdparm
|
|---|
| 10 | PKG_VERSION:= 6.6
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= ecea69f775396e4ab6112dcf9066239f
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= @SF/hdparm
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/mk/package.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,HDPARM,hdparm,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.configured:
|
|---|
| 22 | touch $@
|
|---|
| 23 |
|
|---|
| 24 | $(WRKBUILD)/.built:
|
|---|
| 25 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 26 | CC=$(TARGET_CC)
|
|---|
| 27 | touch $@
|
|---|
| 28 |
|
|---|
| 29 | $(IPKG_HDPARM):
|
|---|
| 30 | install -d -m0755 $(IDIR_HDPARM)/usr/sbin
|
|---|
| 31 | install -m0755 $(WRKBUILD)/hdparm $(IDIR_HDPARM)/usr/sbin
|
|---|
| 32 | $(RSTRIP) $(IDIR_HDPARM)
|
|---|
| 33 | $(IPKG_BUILD) $(IDIR_HDPARM) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.