ksymoops: remove package, it has been obsolete and useless for a long time
[openwrt.org/packages.git] / lang / Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
# Copyright (C) 2007-2010 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:=urbi
PKG_VERSION:=1.0RC2-l455
PKG_RELEASE:=2
 
PKG_SOURCE:=$(PKG_NAME)-sdk-$(PKG_VERSION)-src.zip
PKG_SOURCE_URL:=http://www.gostai.com/downloads/aibo/
PKG_MD5SUM:=02f64abb6232ddd7b0cb6dc182e2df26
PKG_FIXUP:=libtool-ucxx
 
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-sdk
 
include $(INCLUDE_DIR)/package.mk
 
TARGET_CFLAGS += $(FPIC)
 
define Package/urbi
  SECTION:=lang
  CATEGORY:=Languages
  DEPENDS:=+uclibcxx +libpthread @BROKEN
  TITLE:=URBI SDK
  URL:=http://www.urbiforge.com
endef
 
define Package/urbi/description
  Universal Real-Time Behavior Interface for robots.
endef
 
CONFIGURE_VARS += \
        CXX="g++-uc" \
        CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
        EXAMPLES=0 \
 
define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                WARNING_CXXFLAGS="-Wall" \
                all install
endef
 
define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/urbi
        $(CP) $(PKG_INSTALL_DIR)/usr/include/urbi* $(1)/usr/include/urbi/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liburbi* $(1)/usr/lib/
endef
 
define Package/urbi/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
        $(INSTALL_DIR) $(1)/usr/gostai
        $(CP) $(PKG_INSTALL_DIR)/usr/gostai/* $(1)/usr/gostai/
endef
 
$(eval $(call BuildPackage,urbi))
 
comments