freewrt_1_0
freewrt_2_0
|
Last change
on this file since ed2dd9f was ed2dd9f, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)
git-svn-id: svn://www.freewrt.org/trunk/freewrt@306 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | # $Id: Makefile 3795 2006-05-18 22:15:21Z nico $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=axtls
|
|---|
| 6 | PKG_VERSION:=0.95
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=cd887f379f303dd3ef691d8641307f0e
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE:=axTLS-$(PKG_VERSION).tar.gz
|
|---|
| 11 | PKG_SOURCE_URL:=http://www.leroc.com.au/axTLS/
|
|---|
| 12 |
|
|---|
| 13 | WRKSRC:=${WRKDIR}/axTLS
|
|---|
| 14 |
|
|---|
| 15 | include $(TOPDIR)/package/rules.mk
|
|---|
| 16 |
|
|---|
| 17 | $(eval $(call PKG_template,LIBAXTLS,libaxtls,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 18 | $(eval $(call PKG_template,AWHTTPD,awhttpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 19 |
|
|---|
| 20 | $(WRKBUILD)/.configured:
|
|---|
| 21 | $(CP) ./files/config $(WRKBUILD)/config/.config
|
|---|
| 22 | $(MAKE) -C $(WRKBUILD) oldconfig
|
|---|
| 23 | touch $@
|
|---|
| 24 |
|
|---|
| 25 | $(WRKBUILD)/.built:
|
|---|
| 26 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 27 | STRIP=''
|
|---|
| 28 | CC=$(TARGET_CC) \
|
|---|
| 29 | OPT_CFLAGS="$(TARGET_CFLAGS)" OPT_LDFLAGS=""
|
|---|
| 30 | touch $@
|
|---|
| 31 |
|
|---|
| 32 | $(IPKG_LIBAXTLS):
|
|---|
| 33 | install -d -m0755 $(IDIR_LIBAXTLS)/usr/lib
|
|---|
| 34 | install -m0755 $(WRKBUILD)/libaxtls.so $(IDIR_LIBAXTLS)/usr/lib/
|
|---|
| 35 | $(RSTRIP) $(IDIR_LIBAXTLS)
|
|---|
| 36 | $(IPKG_BUILD) $(IDIR_LIBAXTLS) $(PACKAGE_DIR)
|
|---|
| 37 |
|
|---|
| 38 | $(IPKG_AWHTTPD):
|
|---|
| 39 | install -d -m0755 $(IDIR_AWHTTPD)/usr/sbin
|
|---|
| 40 | install -m0755 $(WRKBUILD)/awhttpd $(IDIR_AWHTTPD)/usr/sbin/
|
|---|
| 41 | $(RSTRIP) $(IDIR_AWHTTPD)
|
|---|
| 42 | $(IPKG_BUILD) $(IDIR_AWHTTPD) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.