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
less: updated filter
[crossrootfs.git]
/
groff
/
Pkgfile
diff --git
a/groff/Pkgfile
b/groff/Pkgfile
index f11fdd1af1662c0eb7d5038230b10d0a4c16062f..722d68de8280c9a92f3fb8c6a7ef8499148fd5c6 100644
(file)
--- a/
groff/Pkgfile
+++ b/
groff/Pkgfile
@@
-1,27
+1,53
@@
# Description: The GNU troff text-formatting system
# URL: http://www.gnu.org/software/groff/groff.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Description: The GNU troff text-formatting system
# URL: http://www.gnu.org/software/groff/groff.html
# 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=groff
# Depends on:
name=groff
-version=1.2
0.1
-release=
1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+version=1.2
2.3
+release=
2
+source=(http://ftp
mirror
.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
cd $name-$version
build() {
cd $name-$version
- touch doc/gnu.eps
+ cat > config.cache << EOF
+ac_try_echo=yes
+EOF
+ pushd src/libs/gnulib
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --without-x \
+ --cache-file=config.cache
+ popd
+
+ # we install only the Base14 and EURO pdf fonts
+ # and don't lookup for fonts in the filesystem
+ # https://savannah.gnu.org/bugs/?38029
+ sed -r -e '/^EURO\|/s/N/Y/' \
+ -e '/^[A-Z]+\|N/d' \
+ -e '/\(gs\)/d' \
+ -i font/devpdf/Foundry.in
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
- --without-x
- make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH=
+ --without-x \
+ --cache-file=config.cache
+
+ make -j1 TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH=
make DESTDIR=$PKG install
make DESTDIR=$PKG install
+ sed -e 's|^\(papersize\).*|\1 /etc/papersize|' \
+ -i $PKG/usr/share/groff/current/font/*/DESC
+
+ install -d $PKG/etc
+ echo 'letter' > $PKG/etc/papersize
+
rm -rf $PKG/usr/share/{info,doc}
rm -rf $PKG/usr/share/{info,doc}
+
ln -sf eqn $PKG/usr/bin/geqn
ln -sf tbl $PKG/usr/bin/gtbl
ln -sf soelim $PKG/usr/bin/zsoelim
ln -sf eqn $PKG/usr/bin/geqn
ln -sf tbl $PKG/usr/bin/gtbl
ln -sf soelim $PKG/usr/bin/zsoelim