summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--c-ares/Makefile25
-rw-r--r--c-ares/c-ares.p5m22
2 files changed, 12 insertions, 35 deletions
diff --git a/c-ares/Makefile b/c-ares/Makefile
index 66dfa3c..77cdbb4 100644
--- a/c-ares/Makefile
+++ b/c-ares/Makefile
@@ -1,26 +1,12 @@
-
-# We are going to package for IPS ;-)
include /usr/share/cibs/rules/ips.mk
-
-# We are using tarball(s)
include /usr/share/cibs/rules/archive.mk
-
-# We are using GNU configure
include /usr/share/cibs/rules/autotools.mk
-
-# We will build 32-bit version
-include /usr/share/cibs/rules/32.mk
-
-# ... and 64-bit
include /usr/share/cibs/rules/64.mk
summary := C library that performs DNS requests and name resolves asynchronously
license := MIT
-# build-depends +=
-# build-conflicts +=
-
home := http://c-ares.haxx.se
name := c-ares
version := 1.9.1
@@ -32,14 +18,3 @@ checksum := \
md5:389db4917a3b58c4ce4ebfe961fd84c4 \
size:782945
-# archives := more.zip tarballs.tar.bz2
-# download_more.zip := ftp://...
-# download_tarballs.tar.bz2 := https://...
-# checksum_more.zip := ...
-# checksum_tarballs.tar.bz2 := ...
-#
-# patch::
-# autoreconf -vi
-
-
-
diff --git a/c-ares/c-ares.p5m b/c-ares/c-ares.p5m
index bc0efb9..299bbef 100644
--- a/c-ares/c-ares.p5m
+++ b/c-ares/c-ares.p5m
@@ -31,17 +31,13 @@ license c-ares.license license="$(license)"
dir path=usr
dir path=usr/lib
-dir path=usr/lib/$(MACH64)
-dir path=usr/lib/$(MACH64)/pkgconfig
+$(build64)dir path=usr/lib/$(MACH64)
+$(build64)dir path=usr/lib/$(MACH64)/pkgconfig
dir path=usr/lib/pkgconfig
dir path=usr/share
dir path=usr/share/man
dir path=usr/share/man/man3
dir path=usr/include
-file path=usr/lib/$(MACH64)/libcares.so.2.0.0
-file path=usr/lib/$(MACH64)/pkgconfig/libcares.pc
-file path=usr/lib/pkgconfig/libcares.pc
-file path=usr/lib/libcares.so.2.0.0
file path=usr/share/man/man3/ares_parse_soa_reply.3
file path=usr/share/man/man3/ares_timeout.3
file path=usr/share/man/man3/ares_parse_ptr_reply.3
@@ -87,7 +83,13 @@ file path=usr/include/ares_rules.h
file path=usr/include/ares_dns.h
file path=usr/include/ares_version.h
file path=usr/include/ares.h
-link path=usr/lib/libcares.so target=libcares.so.2.0.0
-link path=usr/lib/$(MACH64)/libcares.so target=libcares.so.2.0.0
-link path=usr/lib/$(MACH64)/libcares.so.2 target=libcares.so.2.0.0
-link path=usr/lib/libcares.so.2 target=libcares.so.2.0.0
+
+$(build32)file path=usr/lib/libcares.so.2.0.0
+$(build32)file path=usr/lib/pkgconfig/libcares.pc
+$(build32)link path=usr/lib/libcares.so target=libcares.so.2.0.0
+$(build32)link path=usr/lib/libcares.so.2 target=libcares.so.2.0.0
+
+$(build64)file path=usr/lib/$(MACH64)/libcares.so.2.0.0
+$(build64)file path=usr/lib/$(MACH64)/pkgconfig/libcares.pc
+$(build64)link path=usr/lib/$(MACH64)/libcares.so target=libcares.so.2.0.0
+$(build64)link path=usr/lib/$(MACH64)/libcares.so.2 target=libcares.so.2.0.0