|
|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
# package information
|
|
|
Name: arptools
|
|
|
-Summary: Address Resoltion Protocol (ARP) Tools
|
|
|
+Summary: Address Resolution Protocol (ARP) Tools
|
|
|
URL: http://www.burghardt.pl/wiki/software/arptools
|
|
|
Vendor: Krzysztof Burghardt
|
|
|
Packager: OpenPKG Foundation e.V.
|
|
|
@@ -33,7 +33,7 @@ Class: EVAL
|
|
|
Group: Mapping
|
|
|
License: GPL
|
|
|
Version: 1.0.2
|
|
|
-Release: 20061112
|
|
|
+Release: 20070508
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.burghardt.pl/wiki/_media/software/arptools-%{version}.tar.gz
|
|
|
@@ -65,10 +65,14 @@ AutoReqProv: no
|
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
|
- CC="%{l_cc}" \
|
|
|
- CFLAGS="%{l_cflags -O}" \
|
|
|
- CPPFLAGS="%{l_cppflags}" \
|
|
|
- LDFLAGS="%{l_ldflags}" \
|
|
|
+ export CC="%{l_cc}"
|
|
|
+ export CFLAGS="%{l_cflags -O}"
|
|
|
+ export CPPFLAGS="%{l_cppflags}"
|
|
|
+ export LDFLAGS="%{l_ldflags}"
|
|
|
+ export LIBS=""
|
|
|
+ case "%{l_platform -t}" in
|
|
|
+ *-sunos5* ) LIBS="$LIBS -lnsl -lsocket" ;;
|
|
|
+ esac
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix}
|
|
|
%{l_make} %{l_mflags -O}
|