mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 07:15:13 +08:00
🤞 Sync 2026-04-23 06:19:46
This commit is contained in:
1 parent
a1df15cd3d
commit
b86d032e91
250 files changed
+41507
-188
No files matched your search
@@ -0,0 +1,65 @@
|
||||
#
|
||||
# Copyright (C) 2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=smstools3
|
||||
PKG_VERSION:=3.1.21
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://smstools3.kekekasvi.com/packages/
|
||||
PKG_HASH:=skip
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
PKG_MAINTAINER:=Harald Geyer <harald@ccbib.org>
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_BUILD_PARALLEL:=0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/smstools3-fix
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=SMS Server Tools 3
|
||||
DEPENDS:=$(ICONV_DEPENDS)
|
||||
URL:=http://smstools3.kekekasvi.com/
|
||||
endef
|
||||
|
||||
define Package/smstools3/description
|
||||
The SMS Server Tools 3 is a SMS Gateway software which can send and receive
|
||||
short messages through GSM modems and mobile phones.
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += -D NUMBER_OF_MODEMS=1
|
||||
TARGET_CFLAGS += $(if $(ICONV_FULL),-D USE_ICONV)
|
||||
TARGET_CFLAGS += -D DISABLE_INET_SOCKET
|
||||
TARGET_CFLAGS += -W -Wall
|
||||
TARGET_CFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
TARGET_CFLAGS += -fcommon
|
||||
|
||||
MAKE_VARS += LFLAGS="$(TARGET_LDFLAGS) $(if $(ICONV_FULL),-liconv)"
|
||||
|
||||
define Package/smstools3-fix/configure
|
||||
endef
|
||||
|
||||
define Package/smstools3-fix/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_BUILD_DIR)/src/smsd \
|
||||
$(PKG_BUILD_DIR)/scripts/sendsms \
|
||||
$(1)/usr/bin/
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/smstools3.init $(1)/etc/init.d/smstools3
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(INSTALL_CONF) ./files/smstools3.conf $(1)/etc/smsd.conf
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,smstools3-fix))
|
||||
Reference in new issue
Block a user