--- /dev/null
+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
--- /dev/null
+# 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
+}