summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkurt <kurt@kurt-Inspiron-600m.(none)>2012-04-29 11:17:35 (EDT)
committer kurt <kurt@kurt-Inspiron-600m.(none)>2012-04-29 11:17:35 (EDT)
commitd558e83e58aa933c22a9d8fc3ff10df5d2f6bb35 (patch)
tree06e8ed6353a37e10e23921157d5e327e957932ca
parentdc61d1c4bdf4f5cbcdc8b2da00524ee2bf91593f (diff)
Renamed pkg file to fit convention, added stripping of shared object files in build, removed dependencies in binary package
-rwxr-xr-xbuild15
-rw-r--r--libz.1.pkg/control (renamed from zlib.pkg/control)1
-rw-r--r--libz.1.pkg/install4
-rw-r--r--zlib.pkg/install2
4 files changed, 12 insertions, 10 deletions
diff --git a/build b/build
index 6517bb1..40deb9c 100755
--- a/build
+++ b/build
@@ -1,13 +1,14 @@
#! /usr/bin/make -f
-zlib: zlib.buildstamp
+libz.1: libz.1.buildstamp
-.SILENT: zlib.buildstamp
-zlib.buildstamp:
+.SILENT: libz.1.buildstamp
+libz.1.buildstamp:
cd src && ./configure --prefix=/usr && make && \
make DESTDIR=$$(pwd)/../dest install
- oh-installfiles zlib
- oh-installdocs zlib
- oh-gencontrol zlib
- oh-buildopk zlib
+ oh-strip -gl usr/lib/libz.so.1.2.6
+ oh-installfiles libz.1
+ oh-installdocs libz.1
+ oh-gencontrol libz.1
+ oh-buildopk libz.1
touch zlib.buildstamp
diff --git a/zlib.pkg/control b/libz.1.pkg/control
index 4a4902b..82f84fd 100644
--- a/zlib.pkg/control
+++ b/libz.1.pkg/control
@@ -1,4 +1,3 @@
Package: zlib
Architecture: any-linux-any
-Depends: gcc, make
Description: zLib is a compression and decompression library.
diff --git a/libz.1.pkg/install b/libz.1.pkg/install
new file mode 100644
index 0000000..bda8414
--- /dev/null
+++ b/libz.1.pkg/install
@@ -0,0 +1,4 @@
+usr/lib/libz.*
+usr/include/z*.h
+usr/lib/pkgconfig/zlib.pc
+usr/share/man/man3/zlib.3
diff --git a/zlib.pkg/install b/zlib.pkg/install
deleted file mode 100644
index dafc022..0000000
--- a/zlib.pkg/install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/libz.*
-usr/include/z*.h