blob: 5ed43536e5101971103893a74bdeb7a06d40199f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From: "P. J. McDermott" <pjm@nac.net>
Date: Thu, 30 May 2013 21:30:00 -0400
Subject: Use multiarch library dirs and remove info index.
---
diff --git a/build b/build
index e735c97..ac92e45 100755
--- a/build
+++ b/build
@@ -16,5 +16,6 @@ install: build
oh-autoinstall
oh-fixperms
oh-strip
- rm -rf dest/usr/lib/libgmp.la
+ rm -rf dest/usr/lib/$(OPK_HOST_ARCH)/libgmp.la
+ rm dest/usr/share/info/dir
oh-installfiles
diff --git a/libgmp-dev.pkg/files b/libgmp-dev.pkg/files
index 6b48068..67703d0 100644
--- a/libgmp-dev.pkg/files
+++ b/libgmp-dev.pkg/files
@@ -1,3 +1,3 @@
/usr/include/gmp.h
-/usr/lib/libgmp.a
-/usr/lib/libgmp.so
+/usr/lib/*/libgmp.a
+/usr/lib/*/libgmp.so
diff --git a/libgmp.10.pkg/files b/libgmp.10.pkg/files
index 3c2304d..ed7e421 100644
--- a/libgmp.10.pkg/files
+++ b/libgmp.10.pkg/files
@@ -1,2 +1,1 @@
-/usr/lib/libgmp.so.10
-/usr/lib/libgmp.so.10.0.5
+/usr/lib/*/libgmp.so.*
|