freewrt_2_0
|
Last change
on this file 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:
922 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:= bwm
|
|---|
| 10 | PKG_VERSION:= 1.1.0
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 51021a036acb92d2bda0c0c0483f9552
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= http://ftp.debian.org/debian/pool/main/b/bwm
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
|---|
| 16 |
|
|---|
| 17 | WRKSRC= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}.orig
|
|---|
| 18 |
|
|---|
| 19 | include $(TOPDIR)/mk/package.mk
|
|---|
| 20 |
|
|---|
| 21 | $(eval $(call PKG_template,BWM,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 22 |
|
|---|
| 23 | $(WRKBUILD)/.configured:
|
|---|
| 24 | touch $@
|
|---|
| 25 |
|
|---|
| 26 | $(WRKBUILD)/.built:
|
|---|
| 27 | $(TARGET_CC) $(TARGET_CFLAGS) $(WRKBUILD)/bwm.c -o $(WRKBUILD)/bwm
|
|---|
| 28 | touch $@
|
|---|
| 29 |
|
|---|
| 30 | $(IPKG_BWM):
|
|---|
| 31 | mkdir -p $(IDIR_BWM)/usr/bin
|
|---|
| 32 | install -m 755 $(WRKBUILD)/$(PKG_NAME) $(IDIR_BWM)/usr/bin/
|
|---|
| 33 | $(RSTRIP) $(IDIR_BWM)
|
|---|
| 34 | $(IPKG_BUILD) $(IDIR_BWM) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.