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
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[crossrootfs.git]
/
gzip
/
Pkgfile
diff --git
a/gzip/Pkgfile
b/gzip/Pkgfile
index 17acbdfa617bbeb91ff7dff9ec18c3249c7d30a9..e2dfbe4af8ead39017435bad458418d0990d2507 100644
(file)
--- a/
gzip/Pkgfile
+++ b/
gzip/Pkgfile
@@
-1,32
+1,32
@@
# Description: GNU compression utility (replacement for compress)
# URL: http://www.gzip.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Description: GNU compression utility (replacement for compress)
# URL: http://www.gzip.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer
, CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer
: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on:
name=gzip
# Depends on:
name=gzip
-version=1.
3.13
+version=1.
5
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
cd $name-$version
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
cd $name-$version
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--mandir=/usr/man
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--mandir=/usr/man
+
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
-
mkdir -p
$PKG/bin
+
install -d
$PKG/bin
mv $PKG/usr/bin/{gzip,gunzip,zcat} $PKG/bin
mv $PKG/usr/bin/{gzip,gunzip,zcat} $PKG/bin
+
rm $PKG/usr/man/man1/{gunzip.1,zcat.1,zcmp.1}
rm $PKG/usr/man/man1/{gunzip.1,zcat.1,zcmp.1}
- ln -sf gzip.1.gz $PKG/usr/man/man1/gunzip.1.gz
- ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz
+ ln -sf gzip.1.gz
$PKG/usr/man/man1/gunzip.1.gz
+ ln -sf gzip.1.gz
$PKG/usr/man/man1/zcat.1.gz
ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz
ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz
- # make uncompress a symlink to gunzip, since it will not work
- # if / and /usr are on different file systems.
- rm $PKG/usr/bin/uncompress
- ln -s /bin/gunzip $PKG/usr/bin/uncompress
+
rm -r $PKG/usr/share
}
rm -r $PKG/usr/share
}