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
kbd: updated to 1.15.3 and aligned with upstream
[crossrootfs.git]
/
patch
/
Pkgfile
diff --git
a/patch/Pkgfile
b/patch/Pkgfile
index b16336f408317ad5e16b48e0d507904ec4538b0b..d2184a01f9542ebb7de601cabf774dbe3ecf5721 100644
(file)
--- a/
patch/Pkgfile
+++ b/
patch/Pkgfile
@@
-1,18
+1,27
@@
# Description: GNU patch
# URL: http://www.gnu.org/software/patch/patch.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Description: GNU patch
# URL: http://www.gnu.org/software/patch/patch.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
name=patch
name=patch
-version=2.
5.9
+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() {
build() {
- cd $name-$version
- ./configure --build=$CHOST \
- --host=$CTARGET \
- --prefix=/usr
- make
- make prefix=$PKG/usr install
+ 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 \
+ --prefix=/usr \
+ --mandir=/usr/man
+
+ make
+ make DESTDIR=$PKG install
}
}