2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 1.37.4
20 COMPONENT_REVISION
= 10
21 COMPONENT_SUMMARY
= Command line utility to control your phone
22 COMPONENT_PROJECT_URL
= https
://wammu.eu
/gammu
/
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_URL
= https
://dl.cihar.com
/gammu
/releases
/$(COMPONENT_ARCHIVE
)
26 COMPONENT_ARCHIVE_HASH
= sha256
:b0fd316f09e862a732aa9ad6fd2f49f09ad69307fd05f50e58f40d33c15deea0
27 COMPONENT_FMRI
= utility
/gammu
28 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
29 COMPONENT_LICENSE
= GPLv2
30 COMPONENT_LICENSE_FILE
= COPYING
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
35 PATH
=$(MYSQL_BINDIR
):$(PG_BINDIR
):$(PATH.gnu
)
37 # Cmake makefiles somehow loose -R/path/to/lib
38 LDFLAGS
+= -L
$(MYSQL_LIBDIR
) -R
$(MYSQL_LIBDIR
)
39 LDFLAGS
+= -L
$(PG_LIBDIR
) -R
$(PG_LIBDIR
)
41 # Missing files in build dir for configure without this.
42 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
44 CMAKE_OPTIONS
+= -DBUILD_PYTHON
=$(PYTHON
)
45 CMAKE_OPTIONS
+= -DPYTHON_EXECUTABLE
=$(PYTHON
)
46 CMAKE_OPTIONS
+= -DWITH_BACKUP
=OFF
47 CMAKE_OPTIONS
+= -DBUILD_SHARED_LIBS
=ON
48 CMAKE_OPTIONS
+= -DINSTALL_GNAPPLET
=OFF
51 REQUIRED_PACKAGES
+= utility
/bash-completion
52 REQUIRED_PACKAGES
+= $(PG_DEVELOPER_PKG
)
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES
+= $(PG_LIBRARY_PKG
)
56 REQUIRED_PACKAGES
+= database
/mariadb-106
/library
57 REQUIRED_PACKAGES
+= library
/glib2
58 REQUIRED_PACKAGES
+= library
/libusb-1
59 REQUIRED_PACKAGES
+= shell/bash
60 REQUIRED_PACKAGES
+= system
/library
61 REQUIRED_PACKAGES
+= system
/library
/math
62 REQUIRED_PACKAGES
+= web
/curl