r1338 - in trunk: . packages packages/db packages/iproute2

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Sat Jan 7 05:15:31 PST 2006


Author: alexander
Date: 2006-01-07 06:15:27 -0700 (Sat, 07 Jan 2006)
New Revision: 1338

Added:
   trunk/packages/db/
   trunk/packages/db/Makefile
Modified:
   trunk/Makefile
   trunk/packages/iproute2/Makefile
Log:
Replaced gdbm with bdb

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2006-01-01 18:40:50 UTC (rev 1337)
+++ trunk/Makefile	2006-01-07 13:15:27 UTC (rev 1338)
@@ -237,7 +237,7 @@
 	ch-glibc re-adjust-toolchain ch-binutils ch-gcc ch-coreutils \
 	ch-zlib ch-mktemp ch-iana-etc ch-findutils ch-gawk \
 	ch-m4 ch-bison ch-gpm ch-ncurses ch-readline ch-vim ch-less \
-	ch-gdbm ch-groff ch-groff-1.19 \
+	ch-db ch-groff ch-groff-1.19 \
 	ch-sed ch-flex ch-gettext ch-inetutils ch-iproute2 ch-perl ch-texinfo \
 	ch-autoconf ch-automake ch-bash
 

Added: trunk/packages/db/Makefile
===================================================================
--- trunk/packages/db/Makefile	2006-01-01 18:40:50 UTC (rev 1337)
+++ trunk/packages/db/Makefile	2006-01-07 13:15:27 UTC (rev 1338)
@@ -0,0 +1,39 @@
+# DB Makefile
+
+NM= db
+VRS= 4.4.16
+DIR= $(NM)-$(VRS)
+
+FILE= $(DIR).tar.gz
+URL-$(FILE)= http://downloads.sleepycat.com/$(FILE)
+SHA-$(FILE)= 08ce785ad051ed6e9712201423ddb9045d0cd62c
+
+# Targets
+
+include $(ROOT)/scripts/functions
+
+chroot:
+	chroot "$(MP)" $(chenv-post-bash) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+
+stage2: Makefile $(FILE)
+	$(std_build)
+	cp $(SRC)/$(FILE) $(LFSSRC)
+
+compile-stage2:
+ifndef CROSS
+	cd build_unix ; ../dist/configure --prefix=/usr \
+	    --enable-compat185 --enable-cxx
+else
+	cd build_unix ; CC="gcc $(64FLAGS)" ./configure --prefix=/usr \
+	    --libdir=/usr/$(LIB_MAYBE64) --enable-compat185 --enable-cxx
+endif
+	cd build_unix ; make
+	cd build_unix ; make docdir=/usr/share/doc/$(DIR) install
+	chown root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db*
+	chown -R root:root /usr/share/doc/$(DIR)
+
+clean:
+	-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2

Modified: trunk/packages/iproute2/Makefile
===================================================================
--- trunk/packages/iproute2/Makefile	2006-01-01 18:40:50 UTC (rev 1337)
+++ trunk/packages/iproute2/Makefile	2006-01-07 13:15:27 UTC (rev 1338)
@@ -31,7 +31,6 @@
 	cp $(SRC)/$(FILE) $(LFSSRC)
 
 compile-stage2:
-	sed -i '/^TARGETS/s at arpd@@g' misc/Makefile
 	chmod u+x configure
 	./configure
 ifndef CROSS
@@ -40,6 +39,7 @@
 	make $(PM) CC="gcc $(64FLAGS)" SBINDIR=/sbin
 endif
 	make SBINDIR=/sbin install
+	mv -v /sbin/arpd /usr/sbin
 
 clean:
 	-rm -rf $(DIR)




More information about the livecd mailing list