diff --git a/package/base/zlib/zlib.conf b/package/base/zlib/zlib.conf index 52e06cab2..b0477cddd 100644 --- a/package/base/zlib/zlib.conf +++ b/package/base/zlib/zlib.conf @@ -20,8 +20,7 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- -prefix='' -set_confopt +libdir=$root/lib zlib_pm() { # create a static version @@ -33,6 +32,7 @@ zlib_pm() { var_insert confopt " " "--shared" var_append makeinstopt " " "mandir=$mandir" hook_add preconf 3 "unset AR" +hook_add premake 3 "sed -ie 's,cp ,install ,' Makefile" hook_add postmake 3 "zlib_pm" # optimized code diff --git a/package/base/zlib/zlib.desc b/package/base/zlib/zlib.desc index 8d4b630c7..2b9911beb 100644 --- a/package/base/zlib/zlib.desc +++ b/package/base/zlib/zlib.desc @@ -23,14 +23,11 @@ [I] The zlib general purpose data compression library. -[T] zlib 1.2.1 is a general purpose data compression library. All the code +[T] zlib is a general purpose data compression library. All the code [T] is thread safe. The data format used by the zlib library [T] is described by RFCs (Request for Comments) 1950 to 1952 in the files [T] ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate [T] format) and rfc1952.txt (gzip format). -[T] -[T] All functions of the compression library are documented in the file zlib.h. -[T] (volunteer to write man pages welcome, contact jloup@gzip.org). [U] http://www.zlib.net/