openpkg/openpkg.spec

changeset 431
127559aa0c5e
parent 428
f880f219c566
child 434
66c3db5d26f6
equal deleted inserted replaced
10:12d3a2777539 11:43bf0d1c7a04
74 Distribution: OpenPKG 74 Distribution: OpenPKG
75 Class: BOOT 75 Class: BOOT
76 Group: Bootstrapping 76 Group: Bootstrapping
77 License: Proprietary, Open Source 77 License: Proprietary, Open Source
78 Version: 4.6.7 78 Version: 4.6.7
79 Release: 20120708 79 Release: 20120800
80 80
81 # list of pristine upstream sources 81 # list of pristine upstream sources
82 Source0: ftp://ftp.gnu.org/gnu/patch/patch-%{V_patch}.tar.gz 82 Source0: ftp://ftp.gnu.org/gnu/patch/patch-%{V_patch}.tar.gz
83 Source1: ftp://ftp.cwru.edu/pub/bash/bash-%{V_bash}.tar.gz 83 Source1: ftp://ftp.cwru.edu/pub/bash/bash-%{V_bash}.tar.gz
84 Source2: ftp://ftp.gnu.org/gnu/make/make-%{V_make}.tar.gz 84 Source2: ftp://ftp.gnu.org/gnu/make/make-%{V_make}.tar.gz
908 esac 908 esac
909 CC="${l_cc}" \ 909 CC="${l_cc}" \
910 CFLAGS="-O" \ 910 CFLAGS="-O" \
911 ./configure \ 911 ./configure \
912 --prefix=%{l_prefix} \ 912 --prefix=%{l_prefix} \
913 --libdir="%{l_prefix}/lib" \
913 --mandir=%{l_prefix}/man \ 914 --mandir=%{l_prefix}/man \
914 --without-libiconv-prefix \ 915 --without-libiconv-prefix \
915 --without-libintl-prefix \ 916 --without-libintl-prefix \
916 --disable-nls \ 917 --disable-nls \
917 --disable-shared \ 918 --disable-shared \
1020 CPPFLAGS="-I`pwd`/../zlib-%{V_zlib} -I`pwd`/../bzip2-%{V_bzip2} -I`pwd`/../xz-%{V_xz}/src/liblzma/api -I`pwd`/../openssl-%{V_openssl}/include" \ 1021 CPPFLAGS="-I`pwd`/../zlib-%{V_zlib} -I`pwd`/../bzip2-%{V_bzip2} -I`pwd`/../xz-%{V_xz}/src/liblzma/api -I`pwd`/../openssl-%{V_openssl}/include" \
1021 LDFLAGS="-L`pwd`/../zlib-%{V_zlib} -L`pwd`/../bzip2-%{V_bzip2} -L`pwd`/../xz-%{V_xz}/src/liblzma/.libs -L`pwd`/../openssl-%{V_openssl}" \ 1022 LDFLAGS="-L`pwd`/../zlib-%{V_zlib} -L`pwd`/../bzip2-%{V_bzip2} -L`pwd`/../xz-%{V_xz}/src/liblzma/.libs -L`pwd`/../openssl-%{V_openssl}" \
1022 GREP="grep" \ 1023 GREP="grep" \
1023 ./configure \ 1024 ./configure \
1024 --prefix=%{l_prefix} \ 1025 --prefix=%{l_prefix} \
1026 --libdir="%{l_prefix}/lib" \
1025 --enable-bsdtar \ 1027 --enable-bsdtar \
1026 --enable-bsdcpio \ 1028 --enable-bsdcpio \
1027 --with-zlib \ 1029 --with-zlib \
1028 --with-bz2lib \ 1030 --with-bz2lib \
1029 --with-lzma \ 1031 --with-lzma \
1065 CPPFLAGS="-I`pwd`/../zlib-%{V_zlib}" \ 1067 CPPFLAGS="-I`pwd`/../zlib-%{V_zlib}" \
1066 LDFLAGS="-L`pwd`/../zlib-%{V_zlib}" \ 1068 LDFLAGS="-L`pwd`/../zlib-%{V_zlib}" \
1067 GREP="grep" \ 1069 GREP="grep" \
1068 ./configure \ 1070 ./configure \
1069 --cache-file=./config.cache \ 1071 --cache-file=./config.cache \
1072 --libdir="%{l_prefix}/lib" \
1070 --without-libidn \ 1073 --without-libidn \
1071 --disable-shared \ 1074 --disable-shared \
1072 --disable-thread \ 1075 --disable-thread \
1073 --disable-ipv6 \ 1076 --disable-ipv6 \
1074 --disable-ldap \ 1077 --disable-ldap \
1113 CC="${l_cc}" \ 1116 CC="${l_cc}" \
1114 CFLAGS="-O" \ 1117 CFLAGS="-O" \
1115 ./configure \ 1118 ./configure \
1116 --cache-file=./config.cache \ 1119 --cache-file=./config.cache \
1117 --prefix=%{l_prefix} \ 1120 --prefix=%{l_prefix} \
1121 --libdir="%{l_prefix}/lib" \
1118 --with-cpu=none \ 1122 --with-cpu=none \
1119 --with-arch=none \ 1123 --with-arch=none \
1120 --without-cplusplus \ 1124 --without-cplusplus \
1121 --without-java \ 1125 --without-java \
1122 --without-python \ 1126 --without-python \
1137 CC="${l_cc}" \ 1141 CC="${l_cc}" \
1138 CPPFLAGS="-DOPENPKG -DPOPT_fprintf=fprintf" \ 1142 CPPFLAGS="-DOPENPKG -DPOPT_fprintf=fprintf" \
1139 GREP="grep" \ 1143 GREP="grep" \
1140 ./configure \ 1144 ./configure \
1141 --prefix=%{l_prefix} \ 1145 --prefix=%{l_prefix} \
1146 --libdir="%{l_prefix}/lib" \
1142 --disable-shared \ 1147 --disable-shared \
1143 --with-included-gettext \ 1148 --with-included-gettext \
1144 --without-libintl-prefix \ 1149 --without-libintl-prefix \
1145 --without-libiconv-prefix \ 1150 --without-libiconv-prefix \
1146 --disable-nls 1151 --disable-nls
1155 CC="${l_cc}" \ 1160 CC="${l_cc}" \
1156 LIBS="-lm" \ 1161 LIBS="-lm" \
1157 GREP="grep" \ 1162 GREP="grep" \
1158 ./configure \ 1163 ./configure \
1159 --prefix=%{l_prefix} \ 1164 --prefix=%{l_prefix} \
1165 --libdir="%{l_prefix}/lib" \
1160 --disable-threadsafe \ 1166 --disable-threadsafe \
1161 --disable-readline \ 1167 --disable-readline \
1162 --disable-debug \ 1168 --disable-debug \
1163 --disable-amalgamation \ 1169 --disable-amalgamation \
1164 --disable-tcl \ 1170 --disable-tcl \
1240 1246
1241 # configure program 1247 # configure program
1242 ./configure \ 1248 ./configure \
1243 --cache-file=./config.cache \ 1249 --cache-file=./config.cache \
1244 --prefix=%{l_prefix} \ 1250 --prefix=%{l_prefix} \
1251 --libdir="%{l_prefix}/lib" \
1245 --mandir="%{l_prefix}/man" \ 1252 --mandir="%{l_prefix}/man" \
1246 --includedir="%{l_prefix}/include/openpkg" \ 1253 --includedir="%{l_prefix}/include/openpkg" \
1247 --with-name="OpenPKG RPM" \ 1254 --with-name="OpenPKG RPM" \
1248 --with-path-cfg="%{l_prefix}/etc/openpkg" \ 1255 --with-path-cfg="%{l_prefix}/etc/openpkg" \
1249 --with-path-rpmpopt="$RPMPOPT" \ 1256 --with-path-rpmpopt="$RPMPOPT" \

mercurial