diff --git a/mote/v2/openwrt/package/luaprofiler/.svn/entries b/mote/v2/openwrt/package/luaprofiler/.svn/entries new file mode 100644 index 0000000..59cf92a --- /dev/null +++ b/mote/v2/openwrt/package/luaprofiler/.svn/entries @@ -0,0 +1,65 @@ +10 + +dir +24947 +svn://svn.openwrt.org/openwrt/packages/lang/luaprofiler +svn://svn.openwrt.org/openwrt + + + +2009-10-29T16:50:46.323419Z +18209 +florian + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +patches +dir + +Makefile +file + + + + +2010-07-24T17:59:55.536389Z +ab18163ecf1d5cf3bdc07192e2f71aa7 +2009-10-29T16:50:46.323419Z +18209 +florian + + + + + + + + + + + + + + + + + + + + + +1123 + diff --git a/mote/v2/openwrt/package/luaprofiler/.svn/text-base/Makefile.svn-base b/mote/v2/openwrt/package/luaprofiler/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..1ecc694 --- /dev/null +++ b/mote/v2/openwrt/package/luaprofiler/.svn/text-base/Makefile.svn-base @@ -0,0 +1,54 @@ +# +# Copyright (C) 2006-2009 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:=luaprofiler +PKG_VERSION:=2.0.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://luaforge.net/frs/download.php/3400 +PKG_MD5SUM:=611435c8e61e1a330ee0aa8ddc9c124a + +include $(INCLUDE_DIR)/package.mk + +define Package/luaprofiler + SUBMENU:=Lua + SECTION:=lang + CATEGORY:=Languages + TITLE:=Lua Profiler + URL:=http://luaprofiler.luaforge.net + DEPENDS:=+lua +endef + +define Package/luaprofiler/description + Profile any Lua application +endef + +define Build/Configure + +endef + +TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS) + +TARGET_LDFLAGS += -llua + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + -f Makefile.linux +endef + +define Package/luaprofiler/install + $(INSTALL_DIR) $(1)/usr/lib/lua + $(CP) $(PKG_BUILD_DIR)/bin/profiler.so $(1)/usr/lib/lua/ +endef + +$(eval $(call BuildPackage,luaprofiler)) diff --git a/mote/v2/openwrt/package/luaprofiler/Makefile b/mote/v2/openwrt/package/luaprofiler/Makefile new file mode 100644 index 0000000..1ecc694 --- /dev/null +++ b/mote/v2/openwrt/package/luaprofiler/Makefile @@ -0,0 +1,54 @@ +# +# Copyright (C) 2006-2009 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:=luaprofiler +PKG_VERSION:=2.0.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://luaforge.net/frs/download.php/3400 +PKG_MD5SUM:=611435c8e61e1a330ee0aa8ddc9c124a + +include $(INCLUDE_DIR)/package.mk + +define Package/luaprofiler + SUBMENU:=Lua + SECTION:=lang + CATEGORY:=Languages + TITLE:=Lua Profiler + URL:=http://luaprofiler.luaforge.net + DEPENDS:=+lua +endef + +define Package/luaprofiler/description + Profile any Lua application +endef + +define Build/Configure + +endef + +TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS) + +TARGET_LDFLAGS += -llua + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + -f Makefile.linux +endef + +define Package/luaprofiler/install + $(INSTALL_DIR) $(1)/usr/lib/lua + $(CP) $(PKG_BUILD_DIR)/bin/profiler.so $(1)/usr/lib/lua/ +endef + +$(eval $(call BuildPackage,luaprofiler)) diff --git a/mote/v2/openwrt/package/luaprofiler/patches/.svn/entries b/mote/v2/openwrt/package/luaprofiler/patches/.svn/entries new file mode 100644 index 0000000..4a8ae1c --- /dev/null +++ b/mote/v2/openwrt/package/luaprofiler/patches/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +24947 +svn://svn.openwrt.org/openwrt/packages/lang/luaprofiler/patches +svn://svn.openwrt.org/openwrt + + + +2008-11-15T13:20:47.411337Z +13219 +nbd + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +100-link.patch +file + + + + +2010-07-24T17:59:55.536389Z +9f53b1596d693e3a10ed42c2a1ef716e +2008-11-15T13:20:47.411337Z +13219 +nbd + + + + + + + + + + + + + + + + + + + + + +310 + diff --git a/mote/v2/openwrt/package/luaprofiler/patches/.svn/text-base/100-link.patch.svn-base b/mote/v2/openwrt/package/luaprofiler/patches/.svn/text-base/100-link.patch.svn-base new file mode 100644 index 0000000..804e39c --- /dev/null +++ b/mote/v2/openwrt/package/luaprofiler/patches/.svn/text-base/100-link.patch.svn-base @@ -0,0 +1,11 @@ +--- a/Makefile.linux ++++ b/Makefile.linux +@@ -4,7 +4,7 @@ OBJS= src/clocks.o src/core_profiler.o s + + + profiler: $(OBJS) +- mkdir -p bin && $(LD) -Bshareable -o $(PROFILER_OUTPUT) $(OBJS) ++ mkdir -p bin && $(LD) -Bshareable -o $(PROFILER_OUTPUT) $(OBJS) $(LDFLAGS) + + clean: + rm -f $(PROFILER_OUTPUT) src/*.o diff --git a/mote/v2/openwrt/package/luaprofiler/patches/100-link.patch b/mote/v2/openwrt/package/luaprofiler/patches/100-link.patch new file mode 100644 index 0000000..804e39c --- /dev/null +++ b/mote/v2/openwrt/package/luaprofiler/patches/100-link.patch @@ -0,0 +1,11 @@ +--- a/Makefile.linux ++++ b/Makefile.linux +@@ -4,7 +4,7 @@ OBJS= src/clocks.o src/core_profiler.o s + + + profiler: $(OBJS) +- mkdir -p bin && $(LD) -Bshareable -o $(PROFILER_OUTPUT) $(OBJS) ++ mkdir -p bin && $(LD) -Bshareable -o $(PROFILER_OUTPUT) $(OBJS) $(LDFLAGS) + + clean: + rm -f $(PROFILER_OUTPUT) src/*.o