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:
954 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile 973 2005-05-19 21:22:09Z nico $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=microperl
|
|---|
| 6 | PKG_VERSION:=5.8.6
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=8d4aa4e061fd5bc0c39e4f0a63267880
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE_URL:=ftp://ftp.cpan.org/pub/CPAN/src/5.0 \
|
|---|
| 11 | ftp://ftp.mpi-sb.mpg.de/pub/perl/CPAN/src/5.0 \
|
|---|
| 12 | ftp://ftp.gmd.de/mirrors/CPAN/src/5.0 \
|
|---|
| 13 | ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0
|
|---|
| 14 | PKG_SOURCE:=perl-$(PKG_VERSION).tar.gz
|
|---|
| 15 |
|
|---|
| 16 | WRKSRC:=${WRKDIR}/perl-$(PKG_VERSION)
|
|---|
| 17 |
|
|---|
| 18 | include $(TOPDIR)/package/rules.mk
|
|---|
| 19 |
|
|---|
| 20 | $(eval $(call PKG_template,MICROPERL,microperl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 21 |
|
|---|
| 22 | $(WRKBUILD)/.configured:
|
|---|
| 23 | touch $@
|
|---|
| 24 |
|
|---|
| 25 | $(WRKBUILD)/.built:
|
|---|
| 26 | $(MAKE) -C $(WRKBUILD) -f Makefile.micro \
|
|---|
| 27 | CC="$(TARGET_CC)" OPTIMIZE="$(TARGET_CFLAGS)"
|
|---|
| 28 | touch $@
|
|---|
| 29 |
|
|---|
| 30 | $(IPKG_MICROPERL):
|
|---|
| 31 | install -d -m0755 $(IDIR_MICROPERL)/usr/bin
|
|---|
| 32 | install -m0755 $(WRKBUILD)/microperl $(IDIR_MICROPERL)/usr/bin/
|
|---|
| 33 | $(RSTRIP) $(IDIR_MICROPERL)
|
|---|
| 34 | $(IPKG_BUILD) $(IDIR_MICROPERL) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.