source: freewrt/package/rsync/Makefile@ 18c227bd

freewrt_2_0
Last change on this file since 18c227bd 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.5 KB
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
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= rsync
10PKG_VERSION:= 2.6.9
11PKG_RELEASE:= 1
12PKG_MD5SUM:= 996d8d8831dbca17910094e56dcb5942
13
14PKG_SOURCE_URL:= http://rsync.samba.org/ftp/rsync/
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,RSYNC,rsync,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20$(WRKBUILD)/.configured:
21 (cd $(WRKBUILD); rm -rf config.{cache,status} ; \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(TARGET_CFLAGS)" \
24 CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
25 LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
26 ./configure \
27 --target=$(GNU_TARGET_NAME) \
28 --host=$(GNU_TARGET_NAME) \
29 --build=$(GNU_HOST_NAME) \
30 --program-prefix="" \
31 --program-suffix="" \
32 --prefix=/usr \
33 --exec-prefix=/usr \
34 --bindir=/usr/bin \
35 --datadir=/usr/share \
36 --includedir=/usr/include \
37 --infodir=/usr/share/info \
38 --libdir=/usr/lib \
39 --libexecdir=/usr/lib \
40 --localstatedir=/var \
41 --mandir=/usr/share/man \
42 --sbindir=/usr/sbin \
43 --sysconfdir=/etc \
44 --disable-nls \
45 );
46 touch $@
47
48$(WRKBUILD)/.built:
49 rm -rf $(WRKINST)
50 mkdir -p $(WRKINST)
51 $(MAKE) -C $(WRKBUILD) \
52 $(TARGET_CONFIGURE_OPTS) \
53 DESTDIR="$(WRKINST)" \
54 all install
55 touch $@
56
57$(IPKG_RSYNC):
58 install -d -m0755 $(IDIR_RSYNC)/usr/bin
59 $(CP) $(WRKINST)/usr/bin/* $(IDIR_RSYNC)/usr/bin
60 $(RSTRIP) $(IDIR_RSYNC)
61 $(IPKG_BUILD) $(IDIR_RSYNC) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.