From: Jose V Beneyto Date: Wed, 30 Dec 2009 15:59:51 +0000 (+0100) Subject: hsetroot: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=78f11c87bc885db9f05384aa6b03139f2259b4d1;p=attic%2Fports%2Fopt-cross.git hsetroot: initial import (verified compilation) --- diff --git a/hsetroot/.footprint b/hsetroot/.footprint new file mode 100644 index 0000000..33812ac --- /dev/null +++ b/hsetroot/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/hsetroot diff --git a/hsetroot/.md5sum b/hsetroot/.md5sum new file mode 100644 index 0000000..c57dad6 --- /dev/null +++ b/hsetroot/.md5sum @@ -0,0 +1 @@ +f599770a6411dcfe216c37b280fad9bc hsetroot-1.0.2.tar.gz diff --git a/hsetroot/Pkgfile b/hsetroot/Pkgfile new file mode 100644 index 0000000..c510dbf --- /dev/null +++ b/hsetroot/Pkgfile @@ -0,0 +1,34 @@ +# Description: A wallpaper setting utility for X11 +# URL: http://thegraveyard.org/hsetroot.php +# Packager: Brett Goulder, predatorfreak at dcaf-security dot org +# Maintainer: Brett Goulder, predatorfreak at dcaf-security dot org. +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: imlib2 + +name=hsetroot +version=1.0.2 +release=1 +source=(http://thegraveyard.org/files/$name-$version.tar.gz) + + +build() { + cd $name-$version + + export DEFAULT_LIBS="-L$CLFS/usr/lib" + export DEFAULT_CFLAGS="-I$CLFS/usr/include" + export IMLIB2_LIBS="$DEFAULT_LIBS -lImlib2" + export IMLIB2_CFLAGS="$DEFAULT_CFLAGS" + + echo "ac_cv_prog_imlib2config_cmd=$CLFS/usr/bin/imlib2-config" > config.cache + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --disable-nls \ + --with-x \ + --cache-file=config.cache + + sed -i src/Makefile config/Makefile -e "s|/usr|$CLFS/usr|" + make + install -D -m 0755 src/$name $PKG/usr/bin/$name +}