2.4
ablfs-more
legacy
new_features
trunk
Last change
on this file since a1dd968 was 4c6f54f, checked in by Pierre Labastie <pierre@…>, 13 years ago |
Fix svn properties on some files
|
-
Property mode
set to
100644
|
File size:
919 bytes
|
Rev | Line | |
---|
[7072e1f] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
[4c6f54f] | 3 | # $Id$
|
---|
[7072e1f] | 4 |
|
---|
| 5 | set -e
|
---|
| 6 | cd $PKGDIR
|
---|
| 7 |
|
---|
| 8 | ./configure --prefix=/usr
|
---|
| 9 | make
|
---|
| 10 | if ! [ -z $PKG_DEST ]; then
|
---|
| 11 | mkdir -pv $PKG_DEST/{lib,usr/{share/{man,doc,info},lib}}
|
---|
| 12 | ln -sv share/{man,doc,info} $PKG_DEST/usr
|
---|
| 13 | case $(uname -m) in
|
---|
| 14 | x86_64) ln -sv lib $PKG_DEST/lib64 && ln -sv lib $PKG_DEST/usr/lib64 ;;
|
---|
| 15 | esac
|
---|
| 16 | fi
|
---|
| 17 | make DESTDIR=$PKG_DEST install
|
---|
| 18 | install -v -m755 -d $PKG_DEST/usr/share/doc/subversion-1.7.1
|
---|
| 19 | cp -v -R doc/* $PKG_DEST/usr/share/doc/subversion-1.7.1
|
---|
| 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
|
---|
| 35 |
|
---|
| 36 | exit
|
---|
Note:
See
TracBrowser
for help on using the repository browser.