summaryrefslogtreecommitdiffstats
path: root/examples/ipk_packaging
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2015-09-21 17:03:12 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2015-09-21 17:03:12 (GMT)
commit0941093e0e5a030faa49968457638a3a6aee7ad8 (patch)
tree6d33513c14eb6eac0531dd050de0ecca4c39bd79 /examples/ipk_packaging
downloadSCons-2.4.0.zip
SCons-2.4.0.tar.gz
SCons-2.4.0.tar.bz2
release 2.4.02.4.0
Diffstat (limited to 'examples/ipk_packaging')
-rw-r--r--examples/ipk_packaging/SConstruct15
-rw-r--r--examples/ipk_packaging/main.c4
2 files changed, 19 insertions, 0 deletions
diff --git a/examples/ipk_packaging/SConstruct b/examples/ipk_packaging/SConstruct
new file mode 100644
index 0000000..c8c54eb
--- /dev/null
+++ b/examples/ipk_packaging/SConstruct
@@ -0,0 +1,15 @@
+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
new file mode 100644
index 0000000..5940dd6
--- /dev/null
+++ b/examples/ipk_packaging/main.c
@@ -0,0 +1,4 @@
+int main( int argc, char *argv[] )
+{
+ return 0;
+}