2012-02-16 18:13:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2012/02/16 17:13:03 hans Exp $
|
Initial import of gammu-1.24.0. Bluetooth support by plunky.
Gammu is a command line utility and library to work with mobile phones
from many vendors. Support for different models differs, but basic
functions should work with majority of them. The program can work with
contacts, messages (SMS, EMS and MMS), calendar, todos, file system,
integrated radio, camera, etc. It also supports a daemon mode to send
and receive SMS messages.
Gammu includes Python bindings, which allows easy scripting of
desired functionality using core functions.
2009-05-25 14:50:00 +02:00
|
|
|
#
|
|
|
|
|
2009-05-26 23:31:21 +02:00
|
|
|
.include "Makefile.common"
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 2
|
Initial import of gammu-1.24.0. Bluetooth support by plunky.
Gammu is a command line utility and library to work with mobile phones
from many vendors. Support for different models differs, but basic
functions should work with majority of them. The program can work with
contacts, messages (SMS, EMS and MMS), calendar, todos, file system,
integrated radio, camera, etc. It also supports a daemon mode to send
and receive SMS messages.
Gammu includes Python bindings, which allows easy scripting of
desired functionality using core functions.
2009-05-25 14:50:00 +02:00
|
|
|
|
|
|
|
COMMENT= Command line utility and library to work with mobile phones
|
|
|
|
|
|
|
|
# cmake tests for it; unclear for what it would be used
|
|
|
|
#BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
|
|
|
|
# for gammu-config
|
|
|
|
DEPENDS+= dialog-[0-9]*:../../misc/dialog
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
USE_CMAKE= yes
|
2009-05-26 23:31:21 +02:00
|
|
|
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
|
Initial import of gammu-1.24.0. Bluetooth support by plunky.
Gammu is a command line utility and library to work with mobile phones
from many vendors. Support for different models differs, but basic
functions should work with majority of them. The program can work with
contacts, messages (SMS, EMS and MMS), calendar, todos, file system,
integrated radio, camera, etc. It also supports a daemon mode to send
and receive SMS messages.
Gammu includes Python bindings, which allows easy scripting of
desired functionality using core functions.
2009-05-25 14:50:00 +02:00
|
|
|
CMAKE_ARGS+= -DINSTALL_MAN_DIR:STRING=${PKGMANDIR}
|
2009-05-26 23:31:21 +02:00
|
|
|
# see py-gammu:
|
|
|
|
CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF
|
|
|
|
# make sure some optional dependencies are not found:
|
|
|
|
CMAKE_ARGS+= -DWITH_MySQL:BOOL=OFF
|
|
|
|
CMAKE_ARGS+= -DWITH_Postgres:BOOL=OFF
|
|
|
|
CMAKE_ARGS+= -DWITH_LibDBI:BOOL=OFF
|
|
|
|
# avoid installing bash completion scripts
|
|
|
|
CMAKE_ARGS+= -DBASH_BIN:FILEPATH=
|
2009-08-27 00:09:48 +02:00
|
|
|
#CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
Initial import of gammu-1.24.0. Bluetooth support by plunky.
Gammu is a command line utility and library to work with mobile phones
from many vendors. Support for different models differs, but basic
functions should work with majority of them. The program can work with
contacts, messages (SMS, EMS and MMS), calendar, todos, file system,
integrated radio, camera, etc. It also supports a daemon mode to send
and receive SMS messages.
Gammu includes Python bindings, which allows easy scripting of
desired functionality using core functions.
2009-05-25 14:50:00 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
2009-06-02 12:23:58 +02:00
|
|
|
USE_TOOLS+= bash:run msgfmt
|
Initial import of gammu-1.24.0. Bluetooth support by plunky.
Gammu is a command line utility and library to work with mobile phones
from many vendors. Support for different models differs, but basic
functions should work with majority of them. The program can work with
contacts, messages (SMS, EMS and MMS), calendar, todos, file system,
integrated radio, camera, etc. It also supports a daemon mode to send
and receive SMS messages.
Gammu includes Python bindings, which allows easy scripting of
desired functionality using core functions.
2009-05-25 14:50:00 +02:00
|
|
|
REPLACE_BASH= utils/gammu-config utils/jadmaker
|
|
|
|
|
|
|
|
# needed because of https://bugs.cihar.com/view.php?id=908
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
|
2012-02-16 18:13:03 +01:00
|
|
|
LDFLAGS.SunOS+= -lintl
|
|
|
|
|
Initial import of gammu-1.24.0. Bluetooth support by plunky.
Gammu is a command line utility and library to work with mobile phones
from many vendors. Support for different models differs, but basic
functions should work with majority of them. The program can work with
contacts, messages (SMS, EMS and MMS), calendar, todos, file system,
integrated radio, camera, etc. It also supports a daemon mode to send
and receive SMS messages.
Gammu includes Python bindings, which allows easy scripting of
desired functionality using core functions.
2009-05-25 14:50:00 +02:00
|
|
|
.include "../../devel/libusb/buildlink3.mk"
|
|
|
|
.include "../../www/curl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|