summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-02-08 18:04:13 (GMT)
committerMats Wichmann <mats@linux.com>2019-02-08 18:04:13 (GMT)
commit71ef2d3ae2755b706412c12b1b9d1f9a20046e0c (patch)
treefc89ea92df8beacfddea96ef289f083fc56c19d9 /examples
parent9f090132091e56c123262106f3563142787c2fcf (diff)
downloadSCons-71ef2d3ae2755b706412c12b1b9d1f9a20046e0c.zip
SCons-71ef2d3ae2755b706412c12b1b9d1f9a20046e0c.tar.gz
SCons-71ef2d3ae2755b706412c12b1b9d1f9a20046e0c.tar.bz2
Remove examples directory, it moved to scons-examples tree
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ipk_packaging/SConstruct15
-rw-r--r--examples/ipk_packaging/main.c4
-rw-r--r--examples/msi_packaging/README1
-rw-r--r--examples/msi_packaging/SConstruct19
-rw-r--r--examples/msi_packaging/helloworld.dll1
-rw-r--r--examples/msi_packaging/main.exe1
-rw-r--r--examples/rpm_packaging/international/SConstruct25
-rw-r--r--examples/rpm_packaging/international/main.c4
-rw-r--r--examples/rpm_packaging/simple/SConstruct20
-rw-r--r--examples/rpm_packaging/simple/main.c4
-rw-r--r--examples/src_packaging/SConstruct11
-rw-r--r--examples/src_packaging/src/foobar.c0
-rw-r--r--examples/src_packaging/src/foobar.h0
13 files changed, 0 insertions, 105 deletions
diff --git a/examples/ipk_packaging/SConstruct b/examples/ipk_packaging/SConstruct
deleted file mode 100644
index c8c54eb..0000000
--- a/examples/ipk_packaging/SConstruct
+++ /dev/null
@@ -1,15 +0,0 @@
-prog = Install( '/bin/', Program( 'main.c') )
-
-Package( projectname = 'foo',
- version = '1.2.3',
- architecture = 'arm',
- x_ipk_maintainer = 'user <user@somehost.net>',
- x_ipk_priority = 'optional',
- source_url = 'http://ftp.gnu.org/foo-1.2.3.tar.gz',
- x_ipk_depends = 'libc6, grep',
- type = 'ipk',
- summary = 'bla bla bla',
- x_ipk_section = 'extras',
- description = 'this should be reallly really long',
- source = [ prog ],
- )
diff --git a/examples/ipk_packaging/main.c b/examples/ipk_packaging/main.c
deleted file mode 100644
index 5940dd6..0000000
--- a/examples/ipk_packaging/main.c
+++ /dev/null
@@ -1,4 +0,0 @@
-int main( int argc, char *argv[] )
-{
- return 0;
-}
diff --git a/examples/msi_packaging/README b/examples/msi_packaging/README
deleted file mode 100644
index 2e54e70..0000000
--- a/examples/msi_packaging/README
+++ /dev/null
@@ -1 +0,0 @@
-This is the README file.
diff --git a/examples/msi_packaging/SConstruct b/examples/msi_packaging/SConstruct
deleted file mode 100644
index cabe70e..0000000
--- a/examples/msi_packaging/SConstruct
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Build a minimal msi installer with two features.
-#
-
-f1 = Install( '/bin/', File('main.exe') )
-f2 = Install( '/lib/', File('helloworld.dll') )
-f3 = Install( '/doc/', File('README') )
-
-Tag( f2, x_msi_feature = 'Resuable Components' )
-Tag( f3, 'doc' )
-
-Package( projectname = 'helloworld',
- version = '1.0',
- packageversion = '1',
- license = 'gpl',
- type = 'msi',
- vendor = 'Nanosoft',
- summary = 'A HelloWorld implementation',
- source = [ f1, f2, f3 ], )
diff --git a/examples/msi_packaging/helloworld.dll b/examples/msi_packaging/helloworld.dll
deleted file mode 100644
index 1404bcf..0000000
--- a/examples/msi_packaging/helloworld.dll
+++ /dev/null
@@ -1 +0,0 @@
-a fake .dll
diff --git a/examples/msi_packaging/main.exe b/examples/msi_packaging/main.exe
deleted file mode 100644
index 36c366c..0000000
--- a/examples/msi_packaging/main.exe
+++ /dev/null
@@ -1 +0,0 @@
-a fake .exe
diff --git a/examples/rpm_packaging/international/SConstruct b/examples/rpm_packaging/international/SConstruct
deleted file mode 100644
index 0d14932..0000000
--- a/examples/rpm_packaging/international/SConstruct
+++ /dev/null
@@ -1,25 +0,0 @@
-# coding: utf-8
-import os
-
-prog_install = Install( os.path.join( ARGUMENTS.get('prefix', '/'), 'bin'), Program( 'main.c' ) )
-Tag( prog_install, unix_attr='(0755, root, users)' )
-
-Default( Package( projectname = 'foo',
- version = '1.2.3',
- type = 'rpm',
- license = 'gpl',
- summary = 'hello',
- summary_de = 'hallo',
- summary_fr = 'bonjour',
- packageversion = 0,
- x_rpm_Group = 'Application/office',
- x_rpm_Group_de = 'Applikation/büro',
- x_rpm_Group_fr = 'Application/bureau',
- description = 'this should be really long',
- description_de = 'das sollte wirklich lang sein',
- description_fr = 'ceci devrait être vraiment long',
- source = [ prog_install ],
- source_url = 'http://foo.org/foo-1.2.3.tar.gz',
- ) )
-
-Alias ( 'install', prog_install )
diff --git a/examples/rpm_packaging/international/main.c b/examples/rpm_packaging/international/main.c
deleted file mode 100644
index 5940dd6..0000000
--- a/examples/rpm_packaging/international/main.c
+++ /dev/null
@@ -1,4 +0,0 @@
-int main( int argc, char *argv[] )
-{
- return 0;
-}
diff --git a/examples/rpm_packaging/simple/SConstruct b/examples/rpm_packaging/simple/SConstruct
deleted file mode 100644
index 77c9d9b..0000000
--- a/examples/rpm_packaging/simple/SConstruct
+++ /dev/null
@@ -1,20 +0,0 @@
-import os
-
-install_dir = os.path.join( ARGUMENTS.get('prefix', '/'), 'bin/' )
-prog_install = Install( install_dir , Program( 'main.c') )
-
-Tag( prog_install, unix_attr = '(0755, root, users)' )
-
-Package( projectname = 'foo',
- version = '1.2.3',
- type = 'rpm',
- license = 'gpl',
- summary = 'bla bla bla',
- packageversion = 0,
- x_rpm_Group = 'Application/office',
- description = 'this should be reallly really long',
- source_url = 'http://foo.org/foo-1.2.3.tar.gz',
- source = [ prog_install ],
- )
-
-Alias( 'install', prog_install )
diff --git a/examples/rpm_packaging/simple/main.c b/examples/rpm_packaging/simple/main.c
deleted file mode 100644
index 5940dd6..0000000
--- a/examples/rpm_packaging/simple/main.c
+++ /dev/null
@@ -1,4 +0,0 @@
-int main( int argc, char *argv[] )
-{
- return 0;
-}
diff --git a/examples/src_packaging/SConstruct b/examples/src_packaging/SConstruct
deleted file mode 100644
index 1e662af..0000000
--- a/examples/src_packaging/SConstruct
+++ /dev/null
@@ -1,11 +0,0 @@
-from glob import glob
-
-src_files = glob( 'src/*.c' )
-include_files = glob( 'src/*.h' )
-
-SharedLibrary( 'foobar', src_files )
-
-Package( projectname = 'libfoobar',
- version = '1.2.3',
- type = [ 'src_zip', 'src_targz', 'src_tarbz2' ],
- source = FindSourceFiles() )
diff --git a/examples/src_packaging/src/foobar.c b/examples/src_packaging/src/foobar.c
deleted file mode 100644
index e69de29..0000000
--- a/examples/src_packaging/src/foobar.c
+++ /dev/null
diff --git a/examples/src_packaging/src/foobar.h b/examples/src_packaging/src/foobar.h
deleted file mode 100644
index e69de29..0000000
--- a/examples/src_packaging/src/foobar.h
+++ /dev/null