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
gcc: added hard float
[crossrootfs.git]
/
patch
/
Pkgfile
diff --git
a/patch/Pkgfile
b/patch/Pkgfile
index 0f7b191ba1080de1da08cc738099136e2533c627..d2184a01f9542ebb7de601cabf774dbe3ecf5721 100644
(file)
--- a/
patch/Pkgfile
+++ b/
patch/Pkgfile
@@
-5,17
+5,23
@@
# Depends on:
name=patch
# Depends on:
name=patch
-version=2.6
+version=2.6
.1
release=1
release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
+ $name-$version-strnlen.patch
+ strnlen.c strnlen.m4 safe-read.m4)
build() {
cd $name-$version
build() {
cd $name-$version
+ patch -p1 -i $SRC/$name-$version-strnlen.patch
+ cp $SRC/*.m4 gl/m4/
+ cp $SRC/strnlen.c gl/lib/
./configure --build=$CHOST \
--host=$CTARGET \
./configure --build=$CHOST \
--host=$CTARGET \
- --prefix=/usr
+ --prefix=/usr \
+ --mandir=/usr/man
- make
- make
prefix=$PKG/usr
install
+ make
+ make
DESTDIR=$PKG
install
}
}