CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
attic
/
ports
/
opt-cross.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dialog: initial import (verified compilation).
[attic/ports/opt-cross.git]
/
dialog
/
Pkgfile
diff --git
a/dialog/Pkgfile
b/dialog/Pkgfile
index 9ba5872ecb112b85d5a8e2f53fa66553c6caa644..f41e0f4f7749952b06a0b4ea6c7c6c9ecee5e5da 100644
(file)
--- a/
dialog/Pkgfile
+++ b/
dialog/Pkgfile
@@
-6,9
+6,9
@@
# Depends on: ncurses
name=dialog
# Depends on: ncurses
name=dialog
-version=1.1-20100
428
+version=1.1-20100
119
release=1
release=1
-source=(ftp://
ftp.us.debian.org/debian/pool/main/d/$name/${name}_$version.orig.tar.
gz)
+source=(ftp://
dickey.his.com/$name/$name-$version.t
gz)
build () {
cd $name-$version
build () {
cd $name-$version
@@
-16,6
+16,10
@@
build () {
--host=$CTARGET \
--prefix=/usr \
--with-ncursesw
--host=$CTARGET \
--prefix=/usr \
--with-ncursesw
+
+ find -type f -name 'makefile' \
+ -exec sed -e "s|-I/usr|-I$CLFS/usr|g" -e "s|-L/usr|-L$CLFS/usr|g" -i {} \;
+
make
make DESTDIR=$PKG install
}
make
make DESTDIR=$PKG install
}