Browse Source

fixed zlib to only install into $root/... and refactored the code

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@973 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
7b9f672e93
2 changed files with 10 additions and 8 deletions
  1. +4
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +6
    -8
      package/base/zlib/zlib.conf

+ 4
- 0
Documentation/Developers/CHANGELOG-RENE

@ -2,6 +2,10 @@
This is not only the CHANGELOG of the desktop target, but also of the
whole rxr-tree.
*) 2003-08-01 (2.0.0-beta7 - 2.0.0-rc1)
- fixed zlib to only install into $root/... and refactored the code
*) 2003-08-01 (2.0.0-beta7 - 2.0.0-rc1)
- Alejandro Mery: fixed lm_sensors 2x

+ 6
- 8
package/base/zlib/zlib.conf

@ -20,17 +20,15 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
zlib_main() {
unset AR
var_insert CC_WRAPPER_INSERT " " "-fPIC"
./configure --prefix=/usr ; eval $MAKE install
./configure --shared --prefix=/usr ; eval $MAKE install
cp zlib.3 $root/usr/share/man/man3/
zlib_pm() {
cp zlib.3 $root/$prefix/share/man/man3/
cp algorithm.txt $docdir
}
custmain="zlib_main"
var_append confopt " " "--shared"
var_insert CC_WRAPPER_INSERT " " "-fPIC"
#hook_add premake 3 "unset AR"
hook_add postmake 3 "zlib_pm"
# optimized code
#

Loading…
Cancel
Save