Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: create.patch.sh
===================================================================
--- create.patch.sh	(nonexistent)
+++ create.patch.sh	(revision 93)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=3.23.3
+
+tar --files-from=file.list -xzvf ../hplip-$VERSION.tar.gz
+mv hplip-$VERSION hplip-$VERSION-orig
+
+cp -rf ./hplip-$VERSION-new ./hplip-$VERSION
+
+diff --unified -Nr  hplip-$VERSION-orig  hplip-$VERSION > hplip-$VERSION-dat2drv.patch
+
+mv hplip-$VERSION-dat2drv.patch ../patches
+
+rm -rf ./hplip-$VERSION
+rm -rf ./hplip-$VERSION-orig

Property changes on: create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: file.list
===================================================================
--- file.list	(nonexistent)
+++ file.list	(revision 93)
@@ -0,0 +1 @@
+hplip-3.23.3/Makefile_dat2drv
Index: hplip-3.23.3-new/Makefile_dat2drv
===================================================================
--- hplip-3.23.3-new/Makefile_dat2drv	(nonexistent)
+++ hplip-3.23.3-new/Makefile_dat2drv	(revision 93)
@@ -0,0 +1,16 @@
+GCCVERSION := $(shell expr `gcc -dumpversion | cut -f1 ` \>= 4.7)
+ifeq "$(GCCVERSION)" "1"
+        CFLAGS_FOR_BUILD += -std=c++11
+endif
+
+dat2drv: datdrv.o Normalize.o
+	g++ $(CFLAGS_FOR_BUILD) -o Dat2drv Dat2drv.o Normalize.o
+
+datdrv.o: Dat2drv.cpp Dat2drv.h 
+	g++ $(CFLAGS_FOR_BUILD) -c Dat2drv.cpp
+
+Normalize.o: Normalize.cpp Normalize.h
+	g++ $(CFLAGS_FOR_BUILD) -c Normalize.cpp
+
+clean:
+	rm Dat2drv.o Normalize.o Dat2drv