From 78f11c87bc885db9f05384aa6b03139f2259b4d1 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 30 Dec 2009 16:59:51 +0100 Subject: [PATCH] hsetroot: initial import (verified compilation) --- hsetroot/.footprint | 3 +++ hsetroot/.md5sum | 1 + hsetroot/Pkgfile | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 hsetroot/.footprint create mode 100644 hsetroot/.md5sum create mode 100644 hsetroot/Pkgfile 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 +} -- 2.26.2