2.4
ablfs-more
legacy
new_features
trunk
Last change
on this file since 06bb141 was 4c6f54f, checked in by Pierre Labastie <pierre@…>, 13 years ago |
Fix svn properties on some files
|
-
Property mode
set to
100644
|
File size:
828 bytes
|
Rev | Line | |
---|
[7072e1f] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
[4c6f54f] | 3 | # $Id$
|
---|
[7072e1f] | 4 |
|
---|
| 5 | set -e
|
---|
| 6 | cd $PKGDIR
|
---|
| 7 |
|
---|
| 8 | patch -Np1 -i ../apr-1.4.5-config.patch
|
---|
| 9 | ./configure
|
---|
| 10 | make
|
---|
| 11 | if ! [ -z $PKG_DEST ]; then
|
---|
| 12 | mkdir -pv $PKG_DEST/{lib,usr/{share/{man,doc,info},lib}}
|
---|
| 13 | ln -sv share/{man,doc,info} $PKG_DEST/usr
|
---|
| 14 | case $(uname -m) in
|
---|
| 15 | x86_64) ln -sv lib $PKG_DEST/lib64 && ln -sv lib $PKG_DEST/usr/lib64 ;;
|
---|
| 16 | esac
|
---|
| 17 | fi
|
---|
| 18 | make DESTDIR=$PKG_DEST install
|
---|
| 19 | if ! [ -z $PKG_DEST ]; then
|
---|
| 20 | rm -fv $PKG_DEST/{,usr/}lib64
|
---|
| 21 | rm -fv $PKG_DEST/usr/{man,doc,info}
|
---|
| 22 | for dir in $PKG_DEST/usr/share/{doc,info,man}; do
|
---|
| 23 | [[ -z $(ls $dir) ]] && rmdir -v $dir
|
---|
| 24 | done
|
---|
| 25 | for dir in $PKG_DEST/usr/{lib,share}; do
|
---|
| 26 | [[ -z $(ls $dir) ]] && rmdir -v $dir
|
---|
| 27 | done
|
---|
| 28 | for dir in $PKG_DEST/{lib,usr}; do
|
---|
| 29 | [[ -z $(ls $dir) ]] && rmdir -v $dir
|
---|
| 30 | done
|
---|
| 31 | packInstall
|
---|
| 32 | fi
|
---|
| 33 | rm -rf $PKG_DEST
|
---|
| 34 |
|
---|
| 35 | exit
|
---|
Note:
See
TracBrowser
for help on using the repository browser.