Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 53 lines (44 sloc) 1.419 kB
475e1ab @joshwilsdon Add intial scripts for building wget.
joshwilsdon authored
1 #
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License"). You may not use this file except in compliance
7 # with the License.
8 #
9 # You can obtain a copy of the license at COPYING
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at COPYING.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
9946ff0 @wesolows smartos-live#67 Support compiling cpp with gcc.
wesolows authored
21 # Copyright (c) 2012, Joyent, Inc. All rights reserved.
475e1ab @joshwilsdon Add intial scripts for building wget.
joshwilsdon authored
22 #
23
9946ff0 @wesolows smartos-live#67 Support compiling cpp with gcc.
wesolows authored
24 VER = wget-1.12
475e1ab @joshwilsdon Add intial scripts for building wget.
joshwilsdon authored
25
9946ff0 @wesolows smartos-live#67 Support compiling cpp with gcc.
wesolows authored
26 include ../Makefile.defs
27
28 AUTOCONF_ENV += \
29 LD_OPTIONS="-M $(BASE)/mapfile_noexstk" \
30 PERL=/usr/perl5/5.12/bin/perl \
31 POD2MAN=/usr/perl5/5.12/bin/pod2man
32 AUTOCONF_OPTS += \
33 --sysconfdir=/etc \
34 --with-ssl \
35 --infodir=/usr/share/info \
36 --disable-rpath
37
38 TARBALL = $(VER).tar.bz2
39 TARBALL_COMPRESS = -j
40
41 PATCHES = Patches/*
42
43 include ../Makefile.targ
44
45 all: all_autoconf
475e1ab @joshwilsdon Add intial scripts for building wget.
joshwilsdon authored
46
47 install: all
48 mkdir -p $(DESTDIR)/usr/bin
9946ff0 @wesolows smartos-live#67 Support compiling cpp with gcc.
wesolows authored
49 ginstall -m 0555 $(BASE)/$(VER.32)/src/wget $(DESTDIR)/usr/bin/wget
475e1ab @joshwilsdon Add intial scripts for building wget.
joshwilsdon authored
50 mkdir -p $(DESTDIR)/usr/share/man/man1
9946ff0 @wesolows smartos-live#67 Support compiling cpp with gcc.
wesolows authored
51 ginstall -m 0444 $(BASE)/$(VER.32)/doc/wget.1 \
52 $(DESTDIR)/usr/share/man/man1
Something went wrong with that request. Please try again.