blob: 0299be280e6b041b842c35ce1a24cc243817251d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
RPM_SOURCE_DIR="/home/eggert/src/kshowmail//build-kshowmail/RPMROOT//SOURCES"
RPM_BUILD_DIR="/home/eggert/src/kshowmail//build-kshowmail/RPMROOT//BUILD"
RPM_OPT_FLAGS="-O2"
RPM_ARCH="i386"
RPM_OS="linux"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
RPM_DOC_DIR="/usr/doc/packages"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="kshowmail"
RPM_PACKAGE_VERSION="2.1.e"
RPM_PACKAGE_RELEASE="cd /home/eggert/src/kshowmail/build-kshowmail/RPMROOT/BUILD
rm -rf kshowmail-2.1.e
/bin/gzip -dc /home/eggert/src/kshowmail/build-kshowmail/RPMROOT/SOURCES/kshowmail-2.1.e.tar.gz | tar -xvvf -
STATUS=$?
if [ $STATUS -ne 0 ]; then
exit $STATUS
fi
cd kshowmail-2.1.e
[ `/usr/bin/id -u` = '0' ] && /bin/chown -Rhf root .
[ `/usr/bin/id -u` = '0' ] && /bin/chgrp -Rhf root .
/bin/chmod -Rf a+rX,g-w,o-w .
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
\
$LOCALFLAGS
exit 0
|