CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dmenu: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Thu, 13 May 2010 08:37:46 +0000 (10:37 +0200)
committerJose V Beneyto <sepen@crux.nu>
Thu, 13 May 2010 08:37:46 +0000 (10:37 +0200)
dmenu/.footprint [new file with mode: 0644]
dmenu/.md5sum [new file with mode: 0644]
dmenu/Pkgfile [new file with mode: 0644]

diff --git a/dmenu/.footprint b/dmenu/.footprint
new file mode 100644 (file)
index 0000000..6735663
--- /dev/null
@@ -0,0 +1,8 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/dmenu
+-rwxr-xr-x     root/root       usr/bin/dmenu_path
+-rwxr-xr-x     root/root       usr/bin/dmenu_run
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/dmenu.1.gz
diff --git a/dmenu/.md5sum b/dmenu/.md5sum
new file mode 100644 (file)
index 0000000..1dc858a
--- /dev/null
@@ -0,0 +1 @@
+66e761a653930cc8a21614ba9fedf903  dmenu-4.0.tar.gz
diff --git a/dmenu/Pkgfile b/dmenu/Pkgfile
new file mode 100644 (file)
index 0000000..78cf853
--- /dev/null
@@ -0,0 +1,28 @@
+# Description: dynamic menu, originally designed for dwm
+# URL: http://www.suckless.org/programs/dmenu.html
+# Packager: Richard Poettler, richard dot poettler at gmail dot com
+# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: xorg-libx11
+
+name=dmenu
+version=4.0
+release=1
+source=(http://dl.suckless.org/tools/$name-$version.tar.gz)
+
+build () {
+  cd $name-$version
+
+  sed -i config.mk \
+      -e 's|^XINERAMA|#XINERAMA|' \
+      -e "s|X11INC = .*|X11INC = $CLFS/usr/include/X11|g" \
+      -e "s|X11LIB = .*|X11LIB = $CLFS/usr/lib/X11|g" \
+      -e "s|-I/usr|-I$CLFS/usr|g" \
+      -e "s|-L/usr|-L$CLFS/usr|g"
+
+  make CC="$CC $CFLAGS"
+  make DESTDIR=$PKG \
+       PREFIX=/usr \
+       MANPREFIX=/usr/man \
+       install
+}