[Lunar-commits] <moonbase-other> ppl, lsb-release, setserial: Modules moved from moonbase-core

Stefan Wold ratler at lunar-linux.org
Tue Jan 1 22:16:35 CET 2013


commit 304e8974e38c34d50b700685686f25848b46b2e0
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Tue, 01 Jan 2013 13:16:35 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/304e8974e38c34d50b700685686f25848b46b2e0

ppl, lsb-release, setserial: Modules moved from moonbase-core
---
  devel/ppl/BUILD                | +9/-0     
  devel/ppl/DEPENDS              | +1/-0     
  devel/ppl/DETAILS              | +26/-0    
  utils/lsb-release/BUILD        | +6/-0     
  utils/lsb-release/DEPENDS      | +1/-0     
  utils/lsb-release/DETAILS      | +13/-0    
  utils/lsb-release/POST_INSTALL | +13/-0    
  utils/setserial/BUILD          | +21/-0    
  utils/setserial/DEPENDS        | +2/-0     
  utils/setserial/DETAILS        | +17/-0    
  10 files changed, 109 insertions(+)

--- /dev/null
+++ b/devel/ppl/BUILD
@@ -0,0 +1,9 @@
+(
+
+  export CCACHE_DISABLE=1 &&
+
+  OPTS+=" --disable-static" &&
+
+  default_build
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/devel/ppl/DEPENDS
@@ -0,0 +1 @@
+depends  gmp
--- /dev/null
+++ b/devel/ppl/DETAILS
@@ -0,0 +1,26 @@
+          MODULE=ppl
+         VERSION=0.11.2
+          SOURCE=$MODULE-$VERSION.tar.bz2
+   SOURCE_URL[0]=ftp://ftp.cs.unipr.it/pub/ppl/releases/$VERSION
+   SOURCE_URL[1]=http://www.cs.unipr.it/ppl/Download/ftp/releases/$VERSION
+      SOURCE_VFY=sha1:915f1d8a7def10e540bf2806babf94dccd15852a
+        WEB_SITE=http://www.cs.unipr.it/ppl
+         ENTERED=20090426
+         UPDATED=20110324
+           SHORT="The Parma Polyhedra Library (PPL)"
+
+cat <<EOF
+The Parma Polyhedra Library (PPL) provides numerical abstractions
+especially targeted at applications in the field of analysis and
+verification of complex systems. These abstractions include convex
+polyhedra, defined as the intersection of a finite number of (open
+or closed) halfspaces, each described by a linear inequality (strict
+or non-strict) with rational coefficients; some special classes of
+polyhedra shapes that offer interesting complexity/precision tradeoffs;
+and grids which represent regularly spaced points that satisfy a set of
+linear congruence relations. The library also supports finite powersets
+and products of (any kind of) polyhedra and grids and a mixed integer
+linear programming problem solver using an exact-arithmetic version
+of the simplex algorithm. (More details are available on the PPL's
+internal mechanisms.)
+EOF
--- /dev/null
+++ b/utils/lsb-release/BUILD
@@ -0,0 +1,6 @@
+(
+
+  prepare_install &&
+  make prefix=/usr mandir=/usr/share/man install
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/utils/lsb-release/DEPENDS
@@ -0,0 +1 @@
+depends perl
--- /dev/null
+++ b/utils/lsb-release/DETAILS
@@ -0,0 +1,13 @@
+          MODULE=lsb-release
+         VERSION=1.4
+          SOURCE=${MODULE}-${VERSION}.tar.gz
+      SOURCE_URL=$SFORGE_URL/lsb/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+      SOURCE_VFY=sha1:ecf883ada9bf4e1feca3f2e1494bd798792aee18
+        WEB_SITE="http://www.linuxbase.org/"
+         ENTERED=20081201
+         UPDATED=20081201
+           SHORT="Show distribution version"
+cat <<EOF
+A Linux Standard Base application to query version
+EOF
--- /dev/null
+++ b/utils/lsb-release/POST_INSTALL
@@ -0,0 +1,13 @@
+
+# Try to generate a lsb-release file unless one exists
+if [ ! -f /etc/lsb-release ]; then
+  DRELEASE=$(awk '{ print $3 }' /etc/lunar.release | sed -r 's;\-(i.86|x86_64)$;;')
+  DCNAME=$(sed 's;.*(\(.*\) -.*;\1;' /etc/lunar.release)
+  DDESC=$(cat /etc/lunar.release)
+cat >/etc/lsb-release<<EOF
+DISTRIB_ID="Lunar Linux"
+DISTRIB_RELEASE="$DRELEASE"
+DISTRIB_CODENAME="$DCNAME"
+DISTRIB_DESCRIPTION="$DDESC"
+EOF
+fi
--- /dev/null
+++ b/utils/setserial/BUILD
@@ -0,0 +1,21 @@
+(
+
+# Its config.sub is to ancient for current detection. Use the system.
+  cp /usr/share/automake/config.sub $SOURCE_DIRECTORY &&
+
+  patch_it $SOURCE2 1 &&
+  sedit "s:usr/man:usr/share/man:g" Makefile.in &&
+
+  sed -i "26i #undef TIOCGHAYESESP" setserial.c &&
+
+  default_build  &&
+
+  install -m 700 rc.serial /etc/init.d/serial.sh     &&
+  ln -sf /etc/init.d/serial.sh /etc/rcS.d/S99serial  &&
+  ln -sf /etc/init.d/serial.sh /etc/rc0.d/K00serial  &&
+  ln -sf /etc/init.d/serial.sh /etc/rc6.d/K00serial  &&
+  if [ ! -f /etc/serial.conf ]; then
+    install -m 644 serial.conf /etc/
+  fi
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/utils/setserial/DEPENDS
@@ -0,0 +1,2 @@
+depends automake
+depends groff
--- /dev/null
+++ b/utils/setserial/DETAILS
@@ -0,0 +1,17 @@
+          MODULE=setserial
+         VERSION=2.17
+          SOURCE=${MODULE}-${VERSION}.tar.gz
+   SOURCE_URL[0]=$SFORGE_URL/setserial/
+      SOURCE_VFY=sha1:68824494a0b5700f7e999564a59358bf34f79eb1
+         SOURCE2=$MODULE-$VERSION-new_bash.patch.gz
+     SOURCE2_URL=$PATCH_URL
+     SOURCE2_VFY=sha1:c2d154f47fe1c23b1dc06617c689a056a0b99377
+        WEB_SITE=http://setserial.sourceforge.net
+         ENTERED=20020125
+         UPDATED=20020125
+           SHORT="configuration tool to setup serial ports"
+cat << EOF
+setserial:
+Tool to setup serial ports
+EOF
+




More information about the Lunar-commits mailing list