2.4
ablfs
ablfs-more
legacy
new_features
trunk
Last change
on this file since d7390a5 was 7072e1f, checked in by Thomas Pegg <thomasp@…>, 13 years ago |
Commit Pierre Labastie's patch for including package management support in jhalfs. NOTE: Package management is by default disabled.
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[d09e32a] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | # $Id$
|
---|
| 4 |
|
---|
| 5 | set -e
|
---|
| 6 | cd $PKGDIR
|
---|
| 7 |
|
---|
| 8 | ./configure --prefix=/usr \
|
---|
| 9 | --sysconfdir=/etc/lynx \
|
---|
[7072e1f] | 10 | --datadir=/usr/share/doc/lynx-2.8.7rel.2 \
|
---|
[d09e32a] | 11 | --with-zlib \
|
---|
| 12 | --with-bzlib \
|
---|
| 13 | --with-screen=ncursesw \
|
---|
| 14 | --enable-locale-charset
|
---|
| 15 | make
|
---|
[7072e1f] | 16 | if ! [ -z $PKG_DEST ]; then
|
---|
| 17 | mkdir -pv $PKG_DEST/{lib,usr/{share/{man,doc,info},lib}}
|
---|
| 18 | ln -sv share/{man,doc,info} $PKG_DEST/usr
|
---|
| 19 | case $(uname -m) in
|
---|
| 20 | x86_64) ln -sv lib $PKG_DEST/lib64 && ln -sv lib $PKG_DEST/usr/lib64 ;;
|
---|
| 21 | esac
|
---|
| 22 | fi
|
---|
| 23 | make DESTDIR=$PKG_DEST install-full
|
---|
| 24 | chgrp -v -R root $PKG_DEST/usr/share/doc/lynx-2.8.7rel.2/lynx_doc
|
---|
| 25 | if ! [ -z $PKG_DEST ]; then
|
---|
| 26 | rm -fv $PKG_DEST/{,usr/}lib64
|
---|
| 27 | rm -fv $PKG_DEST/usr/{man,doc,info}
|
---|
| 28 | for dir in $PKG_DEST/usr/share/{doc,info,man}; do
|
---|
| 29 | [[ -z $(ls $dir) ]] && rmdir -v $dir
|
---|
| 30 | done
|
---|
| 31 | for dir in $PKG_DEST/usr/{lib,share}; do
|
---|
| 32 | [[ -z $(ls $dir) ]] && rmdir -v $dir
|
---|
| 33 | done
|
---|
| 34 | for dir in $PKG_DEST/{lib,usr}; do
|
---|
| 35 | [[ -z $(ls $dir) ]] && rmdir -v $dir
|
---|
| 36 | done
|
---|
| 37 | packInstall
|
---|
| 38 | fi
|
---|
| 39 | rm -rf $PKG_DEST
|
---|
[d09e32a] | 40 |
|
---|
| 41 | exit
|
---|
Note:
See
TracBrowser
for help on using the repository browser.