source: freewrt/package/mrd6/Makefile@ fb6a293

Last change on this file since fb6a293 was 8dd67e2, checked in by Thorsten Glaser <tg@…>, 19 years ago

move arc4random(3) and, while here, libnotimpl into uClibc
this should make a few executables even smaller, most notably
mksh, rdate, openntpd, everything with OGG Vorbis

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2823 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.0 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:= mrd6
10PKG_VERSION:= 0.9.5
11PKG_RELEASE:= 7
12PKG_MD5SUM:= 24a08cf1407000d628a272b08a415dda
13MASTER_SITES:= http://hng.av.it.pt/mrd6/download/
14
15include ${TOPDIR}/mk/package.mk
16
17$(eval $(call PKG_template,MRD6,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
18
19do-install:
20 ${MAKE} -C ${WRKBUILD}/src \
21 OPTIMIZE=yes \
22 SPACE_OPTIMIZE=yes \
23 FULL_STATIC=yes \
24 CFLAGS="${TCFLAGS} -DNO_INET6_OPTION -lm" \
25 CXX="${TARGET_CXX}" \
26 CC="${TARGET_CC}" \
27 STAGING_DIR=${STAGING_DIR} \
28 DESTDIR=${WRKINST} \
29 PREFIX=/usr/ \
30 install
31 ${INSTALL_DIR} ${WRKINST}/etc/init.d
32 ${INSTALL_DATA} files/${PKG_NAME}.conf ${WRKINST}/etc
33 ${INSTALL_BIN} files/${PKG_NAME}.init ${WRKINST}/etc/init.d/${PKG_NAME}
34
35post-install:
36 ${INSTALL_DIR} ${IDIR_MRD6}/usr/sbin
37 ${CP} ${WRKINST}/* ${IDIR_MRD6}/
38
39include ${TOPDIR}/mk/pkg-bottom.mk
Note: See TracBrowser for help on using the repository browser.