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.3 KB
|
| Line | |
|---|
| 1 | # $Id: Makefile 1586 2005-08-09 13:53:20Z nico $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=wput
|
|---|
| 6 | PKG_VERSION:=0.5
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=441b2e07219f78167b29a7ac33488fff
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE_URL:=@SF/wput
|
|---|
| 11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
|---|
| 12 |
|
|---|
| 13 | WRKSRC:=${WRKDIR}/$(PKG_NAME)
|
|---|
| 14 |
|
|---|
| 15 | include $(TOPDIR)/package/rules.mk
|
|---|
| 16 |
|
|---|
| 17 | $(eval $(call PKG_template,WPUT,wput,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 18 |
|
|---|
| 19 | $(WRKBUILD)/.configured:
|
|---|
| 20 | (cd $(WRKBUILD); rm -rf config.{cache,status} ; \
|
|---|
| 21 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 22 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 23 | ./configure \
|
|---|
| 24 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 25 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 26 | --build=$(GNU_HOST_NAME) \
|
|---|
| 27 | --program-prefix="" \
|
|---|
| 28 | --program-suffix="" \
|
|---|
| 29 | --prefix=/usr \
|
|---|
| 30 | --exec-prefix=/usr \
|
|---|
| 31 | --bindir=/usr/bin \
|
|---|
| 32 | --datadir=/usr/share \
|
|---|
| 33 | --includedir=/usr/include \
|
|---|
| 34 | --infodir=/usr/share/info \
|
|---|
| 35 | --libdir=/usr/lib \
|
|---|
| 36 | --libexecdir=/usr/lib \
|
|---|
| 37 | --localstatedir=/var \
|
|---|
| 38 | --mandir=/usr/share/man \
|
|---|
| 39 | --sbindir=/usr/sbin \
|
|---|
| 40 | --sysconfdir=/etc \
|
|---|
| 41 | --enable-largefile \
|
|---|
| 42 | --disable-nls \
|
|---|
| 43 | --enable-shared \
|
|---|
| 44 | --disable-static \
|
|---|
| 45 | --disable-g-switch \
|
|---|
| 46 | )
|
|---|
| 47 | touch $@
|
|---|
| 48 |
|
|---|
| 49 | $(WRKBUILD)/.built:
|
|---|
| 50 | $(MAKE) -C $(WRKBUILD)
|
|---|
| 51 | touch $@
|
|---|
| 52 |
|
|---|
| 53 | $(IPKG_WPUT):
|
|---|
| 54 | install -d -m0755 $(IDIR_WPUT)/usr/bin
|
|---|
| 55 | install -m0755 $(WRKBUILD)/wput $(IDIR_WPUT)/usr/bin/
|
|---|
| 56 | $(RSTRIP) $(IDIR_WPUT)
|
|---|
| 57 | $(IPKG_BUILD) $(IDIR_WPUT) $(PACKAGE_DIR)
|
|---|
| 58 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.