--- Begin Message ---
Subject: |
ltib config/userspace/packages.lkc config/users... |
Date: |
Tue, 07 Jul 2009 17:03:05 +0000 |
CVSROOT: /sources/ltib
Module name: ltib
Changes by: Stuart Hughes <seh> 09/07/07 17:03:05
Modified files:
config/userspace: packages.lkc pkg_map
Added files:
dist/lfs-5.1/dbg: dbg.spec
Log message:
Add c++ debug package dbg, originally submitted to the list by Mike
Goins
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ltib/config/userspace/packages.lkc?cvsroot=ltib&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/ltib/config/userspace/pkg_map?cvsroot=ltib&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/ltib/dist/lfs-5.1/dbg/dbg.spec?cvsroot=ltib&rev=1.1
Patches:
Index: config/userspace/packages.lkc
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/packages.lkc,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- config/userspace/packages.lkc 7 Jul 2009 14:36:25 -0000 1.25
+++ config/userspace/packages.lkc 7 Jul 2009 17:03:05 -0000 1.26
@@ -441,6 +441,12 @@
used for building apps that require v1 support only. All new apps
should be written to use version 2 from glibc.
+config PKG_DBG
+ depends CAP_HAS_MMU
+ bool "dbg"
+ help
+ C++ debug Library
+
choice
prompt "device nodes"
default PKG_DEV
Index: config/userspace/pkg_map
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/pkg_map,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- config/userspace/pkg_map 7 Jul 2009 14:36:26 -0000 1.14
+++ config/userspace/pkg_map 7 Jul 2009 17:03:05 -0000 1.15
@@ -305,6 +305,7 @@
PKG_LIBDAEMON = libdaemon
PKG_LIBXML_PLUS_PLUS = libxml++
PKG_JSON_C = json-c
+PKG_DBG = dbg
# X server related stuff
PKG_RANDRPROTO = randrproto
Index: dist/lfs-5.1/dbg/dbg.spec
===================================================================
RCS file: dist/lfs-5.1/dbg/dbg.spec
diff -N dist/lfs-5.1/dbg/dbg.spec
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/dbg/dbg.spec 7 Jul 2009 17:03:05 -0000 1.1
@@ -0,0 +1,47 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary : C++ debug Library
+Name : dbg
+Version : 1.20
+Release : 1
+License : LGPL
+Vendor : ltib.org
+Packager : Mike Goins
+Group : System Environment/Libraries
+URL : http://dbg.sourceforge.net/
+Source : %{name}-%{version}.tgz
+Patch1 : dbg-1.20-1246985442.patch
+BuildRoot : %{_tmppath}/%{name}
+Prefix : %{pfx}
+
+%Description
+%{summary}
+
+%Prep
+%setup
+%patch1 -p1
+
+%Build
+if g++ --version | perl -e '$_=<>; m,(\d\.\d),; exit($1 <= 3.3)'
+then
+ echo "$? dbg currently only builds with gcc up to version 3.3.x"
+ exit 1
+fi
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{pfx}/usr/lib/
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+
+# uncomment this if you want to install the test application
+#mkdir -p $RPM_BUILD_ROOT/%{pfx}/usr/bin/
+#cp -a test-dbg $RPM_BUILD_ROOT/%{pfx}/usr/bin/
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
--- End Message ---