freewrt_2_0
| 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:= sleepshell
|
|---|
| 10 | PKG_VERSION:= 0.0.2
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 2352d5eb4e38f2fa5b0c371c9fc5883d
|
|---|
| 13 |
|
|---|
| 14 | WRKSRC= ${WRKDIR}/$(PKG_NAME)
|
|---|
| 15 |
|
|---|
| 16 | PKG_SOURCE_URL:= http://www.mariovaldez.net/software/sleepshell/files
|
|---|
| 17 | PKG_SOURCE:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
|
|---|
| 18 |
|
|---|
| 19 | include $(TOPDIR)/mk/package.mk
|
|---|
| 20 |
|
|---|
| 21 | $(eval $(call PKG_template,SLEEPSHELL,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 22 |
|
|---|
| 23 | $(WRKBUILD)/.configured: $(WRKBUILD)/.prepared
|
|---|
| 24 | touch $@
|
|---|
| 25 |
|
|---|
| 26 | $(WRKBUILD)/.built:
|
|---|
| 27 | make -C ${WRKBUILD} \
|
|---|
| 28 | CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
|---|
| 29 | LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
|---|
| 30 | CC=$(TARGET_CC) sleepshell
|
|---|
| 31 | touch $@
|
|---|
| 32 |
|
|---|
| 33 | $(IPKG_SLEEPSHELL):
|
|---|
| 34 | mkdir -p $(IDIR_SLEEPSHELL)/bin
|
|---|
| 35 | $(CP) ${WRKBUILD}/sleepshell $(IDIR_SLEEPSHELL)/bin
|
|---|
| 36 | $(RSTRIP) $(IDIR_SLEEPSHELL)
|
|---|
| 37 | $(IPKG_BUILD) $(IDIR_SLEEPSHELL) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.