CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
hsetroot: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Wed, 30 Dec 2009 15:59:51 +0000 (16:59 +0100)
committerJose V Beneyto <sepen@crux.nu>
Wed, 30 Dec 2009 15:59:51 +0000 (16:59 +0100)
hsetroot/.footprint [new file with mode: 0644]
hsetroot/.md5sum [new file with mode: 0644]
hsetroot/Pkgfile [new file with mode: 0644]

diff --git a/hsetroot/.footprint b/hsetroot/.footprint
new file mode 100644 (file)
index 0000000..33812ac
--- /dev/null
@@ -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 (file)
index 0000000..c57dad6
--- /dev/null
@@ -0,0 +1 @@
+f599770a6411dcfe216c37b280fad9bc  hsetroot-1.0.2.tar.gz
diff --git a/hsetroot/Pkgfile b/hsetroot/Pkgfile
new file mode 100644 (file)
index 0000000..c510dbf
--- /dev/null
@@ -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
+}