Browse Source

port twm (easy as eatin' pancakes :)

Phil Sutter 14 years ago
parent
commit
680b86ab37
2 changed files with 30 additions and 0 deletions
  1. 1 0
      package/Config.in
  2. 29 0
      package/twm/Makefile

+ 1 - 0
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

+ 29 - 0
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