Add recordmydesktop package.
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 May 2009 17:04:43 +0000 (17:04 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Mon, 25 May 2009 17:04:43 +0000 (17:04 +0000)
SVN-Revision: 16062

desktop/apps/recordmydesktop/Makefile [new file with mode: 0644]

diff --git a/desktop/apps/recordmydesktop/Makefile b/desktop/apps/recordmydesktop/Makefile
new file mode 100644 (file)
index 0000000..ab0f75e
--- /dev/null
@@ -0,0 +1,54 @@
+#
+# Copyright (C) 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:=recordmydesktop
+PKG_VERSION:=0.3.8.1
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/$(PKG_NAME)
+PKG_MD5SUM:=6998b165540598965499bd99d8aa0eef
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+TARGET_CFLAGS+= \
+       -I$(STAGING_DIR)/usr/lib/libintl/include \
+       -I$(STAGING_DIR)/usr/lib/libiconv/include
+TARGET_LDFLAGS+= \
+       -L$(STAGING_DIR)/usr/lib/libintl/lib \
+       -L$(STAGING_DIR)/usr/lib/libiconv/lib \
+       -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+       -Wl,-rpath=/usr/lib \
+
+define Package/recordmydesktop
+  SECTION:=xorg-apps
+  CATEGORY:=Xorg
+  SUBMENU:=app
+  TITLE:=A X desktop session recorder
+  URL:=http://recordmydesktop.sourceforge.net
+  DEPENDS:=+libX11 +libSM +libICE +libXext +libXfixes +libXdamage +libvorbis \
+  +libtheora +libogg +libpthread
+endef
+
+define Build/Configure
+       $(call Build/Configure/Default, \
+               --disable-oss \
+               --disable-jack \
+       )
+endef
+
+define Package/recordmydesktop/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) \
+               $(PKG_INSTALL_DIR)/usr/bin/recordmydesktop \
+               $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,recordmydesktop))