source: freewrt/package/wol/Makefile@ 621d5d2

freewrt_2_0
Last change on this file since 621d5d2 was 9f572e3, checked in by Dirk Nehring <dnehring@…>, 19 years ago

drop --enable-largefile from makefiles. 2GB should be enough in most cases

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@975 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.6 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:= wol
10PKG_VERSION:= 0.7.1
11PKG_RELEASE:= 1
12PKG_MD5SUM:= c2fa9d7e771134ac8c89d56b8197d4ca
13
14PKG_SOURCE_URL:= @SF/ahh
15PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,WOL,wol,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 (cd $(WRKBUILD); rm -rf config.{cache,status} ; \
23 $(TARGET_CONFIGURE_OPTS) \
24 CFLAGS="$(TARGET_CFLAGS)" \
25 ./configure \
26 ac_cv_func_malloc_0_nonnull=yes \
27 ac_cv_func_realloc_0_nonnull=yes \
28 ac_cv_func_mmap_fixed_mapped=yes \
29 jm_cv_func_working_malloc=yes \
30 ac_cv_func_alloca_works=yes \
31 --target=$(GNU_TARGET_NAME) \
32 --host=$(GNU_TARGET_NAME) \
33 --build=$(GNU_HOST_NAME) \
34 --program-prefix="" \
35 --program-suffix="" \
36 --prefix=/usr \
37 --exec-prefix=/usr \
38 --bindir=/usr/bin \
39 --datadir=/usr/share \
40 --includedir=/usr/include \
41 --infodir=/usr/share/info \
42 --libdir=/usr/lib \
43 --libexecdir=/usr/lib \
44 --localstatedir=/var \
45 --mandir=/usr/share/man \
46 --sbindir=/usr/sbin \
47 --sysconfdir=/etc \
48 --disable-nls \
49 );
50 touch $@
51
52$(WRKBUILD)/.built:
53 rm -rf $(WRKINST)
54 mkdir -p $(WRKINST)
55 $(MAKE) -C $(WRKBUILD) \
56 CC=$(TARGET_CC) \
57 DESTDIR="$(WRKINST)" \
58 all install
59 touch $@
60
61$(IPKG_WOL):
62 install -m0755 -d $(IDIR_WOL)/usr/bin
63 $(CP) $(WRKINST)/usr/bin/wol $(IDIR_WOL)/usr/bin/
64 $(RSTRIP) $(IDIR_WOL)
65 $(IPKG_BUILD) $(IDIR_WOL) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.