aboutsummaryrefslogtreecommitdiffstats
path: root/main/jwm/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-23 20:22:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-23 20:22:51 +0000
commite480a5a144cd932e722a234ac053b0771e523d97 (patch)
tree1a1199e68ed550b05be30425cc16f5ac7a3ecfc5 /main/jwm/APKBUILD
parent087c3e31555b102ce900c5a0b05cf4c5b185ee88 (diff)
downloadaports-e480a5a144cd932e722a234ac053b0771e523d97.tar.bz2
aports-e480a5a144cd932e722a234ac053b0771e523d97.tar.xz
main/jwm: moved from testing
Diffstat (limited to 'main/jwm/APKBUILD')
-rw-r--r--main/jwm/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/main/jwm/APKBUILD b/main/jwm/APKBUILD
new file mode 100644
index 0000000000..35c5bf4c6b
--- /dev/null
+++ b/main/jwm/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Jeff Pohlmeyer <yetanothergeek@gmail.com>
+# Maintainer: Jeff Pohlmeyer <yetanothergeek@gmail.com>
+
+pkgname=jwm
+pkgver=501
+pkgrel=2
+pkgdesc="A lightweight window manager for the X11 Window System"
+url="http://joewing.net/programs/jwm/"
+arch="all"
+license="GPL"
+depends=
+depends_dev="libx11-dev libxext-dev libxft-dev libxmu-dev libxinerama-dev
+ libxpm-dev libxrender-dev jpeg-dev libpng-dev"
+makedepends="$depends_dev"
+install=
+subpackages="$pkgname-doc"
+source="http://joewing.net/programs/jwm/snapshots/$pkgname-$pkgver.tar.bz2"
+
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-confirm \
+ --enable-icons \
+ --enable-png \
+ --enable-jpeg \
+ --enable-xpm \
+ --enable-xft \
+ --enable-xrender \
+ --enable-shape \
+ --enable-xmu \
+ --enable-xinerama \
+ --disable-fribidi \
+ --disable-debug || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make \
+ BINDIR="$pkgdir/usr/bin" \
+ MANDIR="$pkgdir/usr/share/man" \
+ SYSCONF="$pkgdir/etc" install || return 1
+}
+
+md5sums="19f05789750674b10007c58264e6c688 jwm-501.tar.bz2"