CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
torsmo: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Tue, 26 Jan 2010 07:46:19 +0000 (08:46 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 26 Jan 2010 07:46:19 +0000 (08:46 +0100)
torsmo/.footprint [new file with mode: 0644]
torsmo/.md5sum [new file with mode: 0644]
torsmo/Pkgfile [new file with mode: 0644]

diff --git a/torsmo/.footprint b/torsmo/.footprint
new file mode 100644 (file)
index 0000000..d6b4224
--- /dev/null
@@ -0,0 +1,6 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/torsmo
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/torsmo.1.gz
diff --git a/torsmo/.md5sum b/torsmo/.md5sum
new file mode 100644 (file)
index 0000000..46fbc41
--- /dev/null
@@ -0,0 +1 @@
+88bd8f627637d785a1d681f4f15f00b6  torsmo-0.18.tar.gz
diff --git a/torsmo/Pkgfile b/torsmo/Pkgfile
new file mode 100644 (file)
index 0000000..64e1807
--- /dev/null
@@ -0,0 +1,36 @@
+# Description: Tyopoyta ORvelo System MOnitor.
+# URL: http://torsmo.sourceforge.net/
+# Maintainer: Jose V Beneyto, sepen at crux dot nu
+# Packager: Jose V Beneyto, sepen at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libxft
+
+name=torsmo
+version=0.18
+release=1
+source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
+
+build() {
+  cd $name-$version
+
+  export XFT_LIBS="-L$CLFS/usr/lib -lXft -lXrender -lfontconfig -lfreetype -lz -lX11"
+  
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --x-includes=$CLFS/usr/include/X11 \
+              --x-libraries=$CLFS/usr/lib/X11 \
+              --enable-xft \
+              --enable-proc-uptime \
+              --with-x \
+              --cache-file=config.cache
+
+  sed -i Makefile -e 's|help2man -h -h -v -V|echo|'
+  make \
+    CFLAGS="$CFLAGS" \
+    LDFLAGS="$LDFLAGS" \
+    INCLUDES="-I$CLFS/usr/include -I$CLFS/usr/include/freetype2"
+
+  make DESTDIR=$PKG install
+  install -D -m 0644 $name.1 $PKG/usr/man/man1/$name.1
+}