freewrt_1_0
freewrt_2_0
|
Last change
on this file since ed2dd9f was ed2dd9f, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)
git-svn-id: svn://www.freewrt.org/trunk/freewrt@306 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | # $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=bridge
|
|---|
| 6 | PKG_VERSION:=1.0.6
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE_URL:=@SF/bridge
|
|---|
| 11 | PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz
|
|---|
| 12 | WRKSRC:=${WRKDIR}/bridge-utils-$(PKG_VERSION)
|
|---|
| 13 |
|
|---|
| 14 | include $(TOPDIR)/package/rules.mk
|
|---|
| 15 | $(eval $(call PKG_template,BRIDGE,bridge,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 16 |
|
|---|
| 17 | $(WRKBUILD)/.configured:
|
|---|
| 18 | (cd $(WRKBUILD); rm -rf config.cache; \
|
|---|
| 19 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 20 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 21 | ./configure \
|
|---|
| 22 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 23 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 24 | --build=$(GNU_HOST_NAME) \
|
|---|
| 25 | --prefix=/usr \
|
|---|
| 26 | --exec-prefix=/usr \
|
|---|
| 27 | --bindir=/usr/bin \
|
|---|
| 28 | --sbindir=/usr/sbin \
|
|---|
| 29 | --libexecdir=/usr/lib \
|
|---|
| 30 | --sysconfdir=/etc \
|
|---|
| 31 | --datadir=/usr/share \
|
|---|
| 32 | --localstatedir=/var \
|
|---|
| 33 | --mandir=/usr/man \
|
|---|
| 34 | --infodir=/usr/info \
|
|---|
| 35 | --disable-nls \
|
|---|
| 36 | --with-linux-headers=$(LINUX_DIR) \
|
|---|
| 37 | );
|
|---|
| 38 | touch $@
|
|---|
| 39 |
|
|---|
| 40 | $(WRKBUILD)/.built:
|
|---|
| 41 | $(MAKE) -C $(WRKBUILD)
|
|---|
| 42 | touch $@
|
|---|
| 43 |
|
|---|
| 44 | $(IPKG_BRIDGE):
|
|---|
| 45 | mkdir -p $(IDIR_BRIDGE)/usr/sbin
|
|---|
| 46 | $(CP) $(WRKBUILD)/brctl/brctl $(IDIR_BRIDGE)/usr/sbin/
|
|---|
| 47 | $(STRIP) $(IDIR_BRIDGE)/usr/sbin/brctl
|
|---|
| 48 | $(IPKG_BUILD) $(IDIR_BRIDGE) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.