2.4
ablfs
ablfs-more
legacy
new_features
trunk
Last change
on this file since 743414b 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:
862 bytes
|
Rev | Line | |
---|
[91ff6a9] | 1 | #!/bin/bash
|
---|
[4965fa8] | 2 |
|
---|
| 3 | # $Id$
|
---|
| 4 |
|
---|
| 5 | set -e
|
---|
[cbc8ba2] | 6 | cd $PKGDIR
|
---|
[4965fa8] | 7 |
|
---|
[7072e1f] | 8 | ./configure --prefix=/usr \
|
---|
| 9 | --sysconfdir=/etc \
|
---|
| 10 | --without-ssl
|
---|
[4965fa8] | 11 | make
|
---|
[7072e1f] | 12 | if ! [ -z $PKG_DEST ]; then
|
---|
| 13 | mkdir -pv $PKG_DEST/{lib,usr/{share/{man,doc,info},lib}}
|
---|
| 14 | ln -sv share/{man,doc,info} $PKG_DEST/usr
|
---|
| 15 | case $(uname -m) in
|
---|
| 16 | x86_64) ln -sv lib $PKG_DEST/lib64 && ln -sv lib $PKG_DEST/usr/lib64 ;;
|
---|
| 17 | esac
|
---|
| 18 | fi
|
---|
| 19 | make DESTDIR=$PKG_DEST install
|
---|
| 20 | if ! [ -z $PKG_DEST ]; then
|
---|
| 21 | rm -fv $PKG_DEST/{,usr/}lib64
|
---|
| 22 | rm -fv $PKG_DEST/usr/{man,doc,info}
|
---|
| 23 | for dir in $PKG_DEST/usr/share/{doc,info,man}; do
|
---|
| 24 | [[ -z $(ls $dir) ]] && rmdir -v $dir
|
---|
| 25 | done
|
---|
| 26 | for dir in $PKG_DEST/usr/{lib,share}; do
|
---|
| 27 | [[ -z $(ls $dir) ]] && rmdir -v $dir
|
---|
| 28 | done
|
---|
| 29 | for dir in $PKG_DEST/{lib,usr}; do
|
---|
| 30 | [[ -z $(ls $dir) ]] && rmdir -v $dir
|
---|
| 31 | done
|
---|
| 32 | packInstall
|
---|
| 33 | fi
|
---|
| 34 | rm -rf $PKG_DEST
|
---|
[4965fa8] | 35 |
|
---|
| 36 | exit
|
---|
Note:
See
TracBrowser
for help on using the repository browser.