0:bb3339b2c070 | 1:e4f1a64586f5 |
---|---|
30 Distribution: OpenPKG Community | 30 Distribution: OpenPKG Community |
31 Class: BASE | 31 Class: BASE |
32 Group: WHOIS | 32 Group: WHOIS |
33 License: GPL | 33 License: GPL |
34 Version: 5.0.14 | 34 Version: 5.0.14 |
35 Release: 20111226 | 35 Release: 20120800 |
36 | 36 |
37 # list of sources | 37 # list of sources |
38 Source0: http://ftp.debian.org/debian/pool/main/w/whois/whois_%{version}.tar.gz | 38 Source0: http://ftp.debian.org/debian/pool/main/w/whois/whois_%{version}.tar.gz |
39 | 39 |
40 # build information | 40 # build information |
53 | 53 |
54 %prep | 54 %prep |
55 %setup -q | 55 %setup -q |
56 %{l_shtool} subst \ | 56 %{l_shtool} subst \ |
57 -e 's;^OPTS[ ]*:*=.*$;OPTS=;' \ | 57 -e 's;^OPTS[ ]*:*=.*$;OPTS=;' \ |
58 -e 's;^\(install:.*\)install-pos;\1;' \ | |
59 -e 's;^\(all:.*\)pos;\1;' \ | |
58 Makefile | 60 Makefile |
59 | 61 |
60 %build | 62 %build |
61 %{l_shtool} subst -e "s;perl;%{l_prefix}/bin/perl;" Makefile | 63 %{l_shtool} subst -e "s;perl;%{l_prefix}/bin/perl;" Makefile |
62 | 64 |
72 -e "s;# define LOCALEDIR "/usr/local/share/locale";/* # define LOCALEDIR "/usr/local/share/locale"*/;" \ | 74 -e "s;# define LOCALEDIR "/usr/local/share/locale";/* # define LOCALEDIR "/usr/local/share/locale"*/;" \ |
73 config.h | 75 config.h |
74 ;; | 76 ;; |
75 esac | 77 esac |
76 | 78 |
77 %{l_make} %{l_mflags} \ | 79 %{l_make} %{l_mflags -O} \ |
78 CC="%{l_cc}" \ | 80 CC="%{l_cc}" \ |
79 CFLAGS="%{l_cflags -O}" \ | 81 CFLAGS="%{l_cflags -O}" \ |
80 LDFLAGS="$ldflags" | 82 LDFLAGS="$ldflags" |
81 | 83 |
82 %install | 84 %install |