mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/gammu: Updated for version 1.26.1
This commit is contained in:
parent
456abf8065
commit
efd1b68a8e
3 changed files with 20 additions and 16 deletions
|
@ -1,9 +1,7 @@
|
||||||
Gammu is command line utility and library to work with mobile
|
Gammu is command line utility and library to work with mobile phones from
|
||||||
phones from many vendors. Support for different models differs,
|
many vendors. Support for different models differs, but basic functions
|
||||||
but basic functions should work with majority of them. Program
|
should work with majority of them. Program can work with contacts, messages
|
||||||
can work with contacts, messages (SMS, EMS and MMS), calendar,
|
(SMS, EMS and MMS), calendar, todos, filesystem, integrated radio, camera,
|
||||||
todos, filesystem, integrated radio, camera, etc. It also
|
etcetera. It also supports daemon mode to send and receive SMSes.
|
||||||
supports daemon mode to send and receive SMSes.
|
|
||||||
|
|
||||||
gammu can make use of postgresql, which is also available from
|
gammu can optionally use postgresql.
|
||||||
Slackbuilds.org
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=gammu
|
PRGNAM=gammu
|
||||||
VERSION=1.24.0
|
VERSION=1.26.1
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -61,7 +64,8 @@ cd build
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DINSTALL_MAN_DIR=man \
|
-DINSTALL_MAN_DIR=man \
|
||||||
-DINSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \
|
-DINSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \
|
||||||
-DENABLE_SHARED=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
|
-DLIB_SUFFIX="$LIBDIRSUFFIX" \
|
||||||
..
|
..
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
@ -82,4 +86,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
PRGNAM="gammu"
|
PRGNAM="gammu"
|
||||||
VERSION="1.24.0"
|
VERSION="1.26.1"
|
||||||
HOMEPAGE="http://cihar.com/gammu/"
|
HOMEPAGE="http://cihar.com/gammu/"
|
||||||
DOWNLOAD="http://dl.cihar.com/gammu/releases/gammu-1.24.0.tar.bz2"
|
DOWNLOAD="http://dl.cihar.com/gammu/releases/gammu-1.26.1.tar.bz2"
|
||||||
MD5SUM="f805d6d93ca7064f6d04eb3c6b24168f"
|
MD5SUM="ba8caab6b21a2ce0fa668f9403b8319a"
|
||||||
MAINTAINER="ppr:kut"
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
MAINTAINER="pprkut"
|
||||||
EMAIL="pprkut@liwjatan.at"
|
EMAIL="pprkut@liwjatan.at"
|
||||||
APPROVED="dsomero"
|
APPROVED="rworkman"
|
||||||
|
|
Loading…
Reference in a new issue