CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man-pages: updated to 4.09
[crossrootfs.git]
/
zlib
/
Pkgfile
diff --git
a/zlib/Pkgfile
b/zlib/Pkgfile
index ec2dbb6a3a02b7344979f24578f1a94c4c12cc69..2deff204c0c22d69b75717439520fb5f3202c8d9 100644
(file)
--- a/
zlib/Pkgfile
+++ b/
zlib/Pkgfile
@@
-5,20
+5,15
@@
# Depends on:
name=zlib
# Depends on:
name=zlib
-version=1.2.5
-release=2
-source=(http://dl.sourceforge.net/project/libpng/$name/$version/$name-$version.tar.bz2 \
- $name-$version-lfs-decls.patch)
+version=1.2.11
+release=1
+source=(http://www.zlib.net/$name-$version.tar.gz)
build() {
cd $name-$version
build() {
cd $name-$version
- patch -p1 -i $SRC/$name-$version-lfs-decls.patch
-
- ./configure --prefix=/usr \
- --shared
-
+ ./configure --prefix=/usr --sharedlibdir=/lib
make
make
- make
prefix=$PKG/usr mandir=$PKG/usr/man
install
-
- chmod -v 644 $PKG/usr/lib/libz.a
+ make
DESTDIR=$PKG
install
+ ln -sf ../../lib/libz.so.$version $PKG/usr/lib/libz.so
+ rm $PKG/lib/libz.so
}
}