From: Jose V Beneyto Date: Thu, 13 May 2010 08:37:46 +0000 (+0200) Subject: dmenu: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=80f2bbd80b87c8e6ce469cf0f69c8b403a078259;p=attic%2Fports%2Fopt-cross.git dmenu: initial import (verified compilation) --- diff --git a/dmenu/.footprint b/dmenu/.footprint new file mode 100644 index 0000000..6735663 --- /dev/null +++ b/dmenu/.footprint @@ -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 index 0000000..1dc858a --- /dev/null +++ b/dmenu/.md5sum @@ -0,0 +1 @@ +66e761a653930cc8a21614ba9fedf903 dmenu-4.0.tar.gz diff --git a/dmenu/Pkgfile b/dmenu/Pkgfile new file mode 100644 index 0000000..78cf853 --- /dev/null +++ b/dmenu/Pkgfile @@ -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 +}