2009-04-09 13:36:16 +00:00
|
|
|
#
|
2011-11-12 01:30:21 +00:00
|
|
|
# Copyright (C) 2009-2011 OpenWrt.org
|
2009-04-09 13:36:16 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=kissdx
|
2012-08-07 16:09:02 +00:00
|
|
|
PKG_REV:=193
|
|
|
|
PKG_VERSION:=r$(PKG_REV)
|
|
|
|
PKG_RELEASE:=3
|
2009-04-09 13:36:16 +00:00
|
|
|
|
2012-08-07 16:09:02 +00:00
|
|
|
PKG_SOURCE_PROTO:=svn
|
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE_URL:=http://www.famille-kahn.com/svn/kissdx/kissdx/trunk
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
2009-04-09 13:36:16 +00:00
|
|
|
|
2012-08-07 16:09:02 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
|
2009-04-09 13:36:16 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2011-02-02 18:54:24 +00:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2009-04-09 13:36:16 +00:00
|
|
|
|
|
|
|
define Package/kissdx
|
2009-06-27 22:15:27 +00:00
|
|
|
SECTION:=multimedia
|
|
|
|
CATEGORY:=Multimedia
|
2011-02-02 18:54:24 +00:00
|
|
|
DEPENDS:=+libjpeg +libdvdread $(ICONV_DEPENDS)
|
2009-04-09 13:36:16 +00:00
|
|
|
TITLE:=PC-Link clone for KiSS media players
|
|
|
|
URL:=http://kissdx.vidartysse.net
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/kissdx/description
|
|
|
|
kissdx is a PC-Link clone for KiSS media players, based for
|
|
|
|
the most part on kissd (which it now replaces), with added
|
|
|
|
features for media playback, management, flexibility and more.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
2011-02-02 18:54:24 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) -DLinux -DUSE_INTERNAL_SENDFILE -std=gnu99 -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFILE_OFFSET_BITS=64 -D_GNU_SOURCE -I$(ICONV_PREFIX)/include -I$(STAGING_DIR)/usr/include/dvdread $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) -L$(ICONV_PREFIX)/lib" \
|
|
|
|
LDFLAGS="-L$(ICONV_PREFIX)/lib $(TARGET_LDFLAGS)" \
|
2009-04-09 13:36:16 +00:00
|
|
|
STRIP=$(STRIP) \
|
2012-08-07 16:09:02 +00:00
|
|
|
IconvExternal=defined \
|
2009-04-09 13:36:16 +00:00
|
|
|
CC="$(TARGET_CROSS)gcc" all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/kissdx/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/kissdx $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_DATA) ./files/kissdx.config $(1)/etc/config/kissdx
|
|
|
|
$(INSTALL_BIN) ./files/kissdx.init $(1)/etc/init.d/kissdx
|
|
|
|
endef
|
|
|
|
|
2011-11-16 20:02:41 +00:00
|
|
|
define Package/kissdx/conffiles
|
|
|
|
/etc/config/kissdx
|
|
|
|
endef
|
|
|
|
|
2009-04-09 13:36:16 +00:00
|
|
|
$(eval $(call BuildPackage,kissdx))
|