summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-06-06 03:06:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-08 16:28:59 +0200
commit680b86ab37f49665c5161350e0ad60d3df251f69 (patch)
tree04670ed44bf2805e0fb4aedd2c5cf170de384e44 /package
parent5eede796a5a95818e3c1aab3d6121410c06d3dff (diff)
port twm (easy as eatin' pancakes :)
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/twm/Makefile29
2 files changed, 30 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 80717c15b..141ffe2a4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -621,6 +621,7 @@ source "package/evilwm/Config.in"
source "package/firefox/Config.in"
source "package/font-util/Config.in"
source "package/rxvt-unicode/Config.in"
+source "package/twm/Config.in"
source "package/xauth/Config.in"
source "package/xlsfonts/Config.in"
endmenu
diff --git a/package/twm/Makefile b/package/twm/Makefile
new file mode 100644
index 000000000..fbf6518c7
--- /dev/null
+++ b/package/twm/Makefile
@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= twm
+PKG_VERSION:= 1.0.4
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 109979bd39d48bd761e7939b30006a48
+PKG_DESCR:= X.Org twm application
+PKG_SECTION:= x11
+PKG_DEPENDS:= xorg-server
+PKG_BUILDDEP+= xorg-server
+PKG_URL:= http://xorg.freedesktop.org
+PKG_SITES:= http://xorg.freedesktop.org/archive/individual/app/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,TWM,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_TWM)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/twm \
+ $(IDIR_TWM)/usr/bin/
+ ${INSTALL_DIR} ${IDIR_TWM}/usr/share/X11/twm
+ ${INSTALL_DATA} ${WRKINST}/usr/share/X11/twm/system.twmrc \
+ ${IDIR_TWM}/usr/share/X11/twm/
+
+include ${TOPDIR}/mk/pkg-bottom.mk