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

freewrt_2_0
Last change on this file since 621d5d2 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

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

  • Property mode set to 100644
File size: 1.1 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:= microperl
10PKG_VERSION:= 5.8.6
11PKG_RELEASE:= 1
12PKG_MD5SUM:= 8d4aa4e061fd5bc0c39e4f0a63267880
13
14PKG_SOURCE_URL:= ftp://ftp.cpan.org/pub/CPAN/src/5.0 \
15 ftp://ftp.mpi-sb.mpg.de/pub/perl/CPAN/src/5.0 \
16 ftp://ftp.gmd.de/mirrors/CPAN/src/5.0 \
17 ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0
18PKG_SOURCE:= perl-$(PKG_VERSION).tar.gz
19
20WRKSRC= ${WRKDIR}/perl-$(PKG_VERSION)
21
22include $(TOPDIR)/mk/package.mk
23
24$(eval $(call PKG_template,MICROPERL,microperl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
25
26$(WRKBUILD)/.configured:
27 touch $@
28
29$(WRKBUILD)/.built:
30 $(MAKE) -C $(WRKBUILD) -f Makefile.micro \
31 CC="$(TARGET_CC)" OPTIMIZE="$(TARGET_CFLAGS)"
32 touch $@
33
34$(IPKG_MICROPERL):
35 install -d -m0755 $(IDIR_MICROPERL)/usr/bin
36 install -m0755 $(WRKBUILD)/microperl $(IDIR_MICROPERL)/usr/bin/
37 $(RSTRIP) $(IDIR_MICROPERL)
38 $(IPKG_BUILD) $(IDIR_MICROPERL) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.