improved coding style

pull/13/head
Volker Grabsch 16 years ago
parent a86f699e7f
commit 287f925b73

@ -15,7 +15,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
mkdir -p '$(PREFIX)/$(TARGET)'
install -d '$(PREFIX)/$(TARGET)'
cd '$(2)' && \
cp -rpv bin include lib '$(PREFIX)/$(TARGET)'
endef

@ -18,7 +18,7 @@ define $(PKG)_BUILD
cd '$(2)' && ./configure \
--prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(2)' -j '$(JOBS)' install
mkdir -p '$(PREFIX)/bin'
install -d '$(PREFIX)/$(TARGET)'
rm -f '$(PREFIX)/bin/$(TARGET)-pkg-config'
ln -s '../$(TARGET)/bin/pkg-config' '$(PREFIX)/bin/$(TARGET)-pkg-config'
endef

@ -24,6 +24,6 @@ define $(PKG)_BUILD
# fix missing definitions for WinPcap and libdnet
$(SED) '1i\#include <wtypes.h>' -i '$(2)/include/iphlpapi.h'
$(SED) '1i\#include <wtypes.h>' -i '$(2)/include/wincrypt.h'
mkdir -p '$(PREFIX)/$(TARGET)'
install -d '$(PREFIX)/$(TARGET)'
cp -rpv '$(2)/include' '$(2)/lib' '$(PREFIX)/$(TARGET)'
endef

Loading…
Cancel
Save