From d558e83e58aa933c22a9d8fc3ff10df5d2f6bb35 Mon Sep 17 00:00:00 2001 From: kurt Date: Sun, 29 Apr 2012 11:17:35 -0400 Subject: Renamed pkg file to fit convention, added stripping of shared object files in build, removed dependencies in binary package --- 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 -- cgit v0.9.1