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

freewrt_2_0
Last change on this file since 18c227bd 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.8 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:= slurm
10PKG_VERSION:= 0.3.3
11PKG_RELEASE:= 1
12PKG_MD5SUM:= e68d09202b835c644f7f6b7f070f29a2
13
14PKG_SOURCE_URL:= http://www.wormulon.net/files/code/slurm/
15PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,SLURM,slurm,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured: $(WRKBUILD)/.prepared
22 (cd $(WRKBUILD); rm -rf config.{cache,status}; \
23 touch configure.in; \
24 touch aclocal.m4; \
25 touch Makefile.in; \
26 touch config.h.in; \
27 touch configure; \
28 $(TARGET_CONFIGURE_OPTS) \
29 CFLAGS="$(TARGET_CFLAGS)" \
30 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
31 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
32 LIBS="-lncurses" \
33 ac_cv_func_malloc_0_nonnull=yes \
34 ac_cv_lib_ncurses_use_default_colors=yes \
35 ./configure \
36 --target=$(GNU_TARGET_NAME) \
37 --host=$(GNU_TARGET_NAME) \
38 --build=$(GNU_HOST_NAME) \
39 --program-prefix="" \
40 --program-suffix="" \
41 --prefix=/usr \
42 --exec-prefix=/usr \
43 --bindir=/usr/bin \
44 --datadir=/usr/share \
45 --includedir=/usr/include \
46 --infodir=/usr/share/info \
47 --libdir=/usr/lib \
48 --libexecdir=/usr/lib \
49 --localstatedir=/var \
50 --mandir=/usr/share/man \
51 --sbindir=/usr/sbin \
52 --sysconfdir=/etc \
53 --disable-nls \
54 );
55 touch $@
56
57$(WRKBUILD)/.built:
58 rm -rf $(WRKINST)
59 mkdir -p $(WRKINST)
60 $(MAKE) -C $(WRKBUILD) \
61 DESTDIR="$(WRKINST)" \
62 all install
63 touch $@
64
65$(IPKG_SLURM):
66 install -d -m0755 $(IDIR_SLURM)/usr/bin
67 $(CP) $(WRKINST)/usr/bin/slurm $(IDIR_SLURM)/usr/bin/
68 $(RSTRIP) $(IDIR_SLURM)
69 $(IPKG_BUILD) $(IDIR_SLURM) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.