freewrt_2_0
|
Last change
on this file since 621d5d2 was ea27d9a, checked in by Ralph Paßgang <tha@…>, 19 years ago |
- fixed Makefile for rsync,bind & nano (d'oh)... this time it's all tested :)
- disabled shorewall until the Makefile is "downgraded" to freewrt 1.0 style
git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1864 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.8 KB
|
| Rev | Line | |
|---|
| [c8b93bd] | 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.
|
|---|
| [475ad56] | 6 |
|
|---|
| [ea27d9a] | 7 | include $(TOPDIR)/rules.mk
|
|---|
| [475ad56] | 8 |
|
|---|
| [c8b93bd] | 9 | PKG_NAME:= nano
|
|---|
| [a1d3034] | 10 | PKG_VERSION:= 2.0.3
|
|---|
| [c8b93bd] | 11 | PKG_RELEASE:= 1
|
|---|
| [a1d3034] | 12 | PKG_MD5SUM:= b8e2c1450b36d21f9a82509da3e4d9b1
|
|---|
| [ea27d9a] | 13 |
|
|---|
| [a1d3034] | 14 | PKG_SOURCE_URL:= http://www.nano-editor.org/dist/v2.0
|
|---|
| [475ad56] | 15 |
|
|---|
| [ea27d9a] | 16 | include $(TOPDIR)/mk/package.mk
|
|---|
| [475ad56] | 17 |
|
|---|
| [ea27d9a] | 18 | $(eval $(call PKG_template,NANO,nano,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| [475ad56] | 19 |
|
|---|
| [ea27d9a] | 20 | $(WRKBUILD)/.configured:
|
|---|
| 21 | (cd $(WRKBUILD); \
|
|---|
| 22 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 23 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 24 | CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include " \
|
|---|
| 25 | LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
|---|
| 26 | ac_cv_header_regex_h=no \
|
|---|
| 27 | ./configure \
|
|---|
| 28 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 29 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 30 | --build=$(GNU_HOST_NAME) \
|
|---|
| 31 | --program-prefix="" \
|
|---|
| 32 | --program-suffix="" \
|
|---|
| 33 | --prefix=/usr \
|
|---|
| 34 | --exec-prefix=/usr \
|
|---|
| 35 | --bindir=/usr/bin \
|
|---|
| 36 | --datadir=/usr/share \
|
|---|
| 37 | --includedir=/usr/include \
|
|---|
| 38 | --infodir=/usr/share/info \
|
|---|
| 39 | --libdir=/usr/lib \
|
|---|
| 40 | --libexecdir=/usr/lib \
|
|---|
| 41 | --localstatedir=/var \
|
|---|
| 42 | --mandir=/usr/share/man \
|
|---|
| 43 | --sbindir=/usr/sbin \
|
|---|
| 44 | --sysconfdir=/etc \
|
|---|
| 45 | --disable-nls \
|
|---|
| 46 | --enable-shared \
|
|---|
| 47 | --disable-static \
|
|---|
| 48 | --with-gnu-ld \
|
|---|
| 49 | --disable-rpath \
|
|---|
| 50 | --enable-tiny \
|
|---|
| [475ad56] | 51 | --disable-glibtest \
|
|---|
| 52 | --disable-utf8 \
|
|---|
| [ea27d9a] | 53 | --without-slang \
|
|---|
| 54 | --enable-nanorc \
|
|---|
| 55 | );
|
|---|
| 56 | touch $@
|
|---|
| [475ad56] | 57 |
|
|---|
| [ea27d9a] | 58 | $(WRKBUILD)/.built:
|
|---|
| 59 | rm -rf $(WRKINST)
|
|---|
| 60 | mkdir -p $(WRKINST)
|
|---|
| 61 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 62 | DESTDIR="$(WRKINST)" \
|
|---|
| 63 | all install
|
|---|
| 64 | touch $@
|
|---|
| [475ad56] | 65 |
|
|---|
| [ea27d9a] | 66 | $(IPKG_NANO):
|
|---|
| 67 | install -d -m0755 $(IDIR_NANO)/usr/bin
|
|---|
| 68 | $(CP) $(WRKINST)/usr/bin/nano $(IDIR_NANO)/usr/bin/
|
|---|
| 69 | $(RSTRIP) $(IDIR_NANO)
|
|---|
| 70 | install -d -m0755 ${IDIR_NANO}/etc
|
|---|
| 71 | $(CP) ./files/nanorc ${IDIR_NANO}/etc/
|
|---|
| 72 | $(IPKG_BUILD) $(IDIR_NANO) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.