|
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=gammu |
|
|
|
PKG_VERSION:=1.41.0 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
|
PKG_SOURCE_URL:=https://dl.cihar.com/gammu/releases |
|
|
@ -33,7 +33,7 @@ define Package/gammu |
|
|
|
TITLE:=Cell phone/modem SMS and control tool |
|
|
|
URL:=https://wammu.eu/gammu/ |
|
|
|
DEPENDS:=+libpthread +libcurl +glib2 $(ICONV_DEPENDS) $(INTL_DEPENDS) |
|
|
|
DEPENDS+=+PACKAGE_python3:python3 +PACKAGE_bluez-libs:bluez-libs |
|
|
|
DEPENDS+=+PACKAGE_bluez-libs:bluez-libs |
|
|
|
DEPENDS+=+PACKAGE_libmariadb:libmariadb +PACKAGE_unixodbc:unixodbc +PACKAGE_libpq:libpq |
|
|
|
DEPENDS+=+PACKAGE_libusb-1.0:libusb-1.0 |
|
|
|
endef |
|
|
@ -54,7 +54,7 @@ define Package/gammu/install |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gammu $(1)/usr/bin |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gammu-{smsd,smsd-inject,smsd-monitor} $(1)/usr/bin |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/lib{Gammu*,gsmsd*} $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{Gammu*,gsmsd*} $(1)/usr/lib |
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
|
$(INSTALL_DIR) $(1)/etc/config |
|
|
|
$(INSTALL_CONF) ./files/gammu $(1)/etc/config/gammu |
|
|
|