[csw-devel] SF.net SVN: gar:[10002] csw/mgar/pkg/TEMPLATES/createpkg
theferret at users.sourceforge.net
theferret at users.sourceforge.net
Wed May 26 21:21:41 CEST 2010
Revision: 10002
http://gar.svn.sourceforge.net/gar/?rev=10002&view=rev
Author: theferret
Date: 2010-05-26 19:21:41 +0000 (Wed, 26 May 2010)
Log Message:
-----------
TEMPLATES/createpkg: added a nice README, and updated copy prog for it.
Modified Paths:
--------------
csw/mgar/pkg/TEMPLATES/createpkg/copy_template
csw/mgar/pkg/TEMPLATES/createpkg/prototype
Added Paths:
-----------
csw/mgar/pkg/TEMPLATES/createpkg/README
Added: csw/mgar/pkg/TEMPLATES/createpkg/README
===================================================================
--- csw/mgar/pkg/TEMPLATES/createpkg/README (rev 0)
+++ csw/mgar/pkg/TEMPLATES/createpkg/README 2010-05-26 19:21:41 UTC (rev 10002)
@@ -0,0 +1,47 @@
+This is a README for the "createpkg" style templates in the
+OpenCSW subversion tree. It gets copied to a brand new directory, when it
+is created with "make createpkg-softwarenamehere"
+
+Instructions:
+
+the first thing you should do, is
+
+ svn status
+
+with this, you will notice that no files in the directory are actually checked
+into subversion yet. You should edit (or remove) the files as you deem
+apropriate, and then
+
+ svn add filename(s)
+
+the ones you want to keep in the repository.
+
+If you are doing a general-case binary build package, then you will next need
+to do the following:
+
+1. Set up your environment variables as appropriate, and/or
+ set the appropriate variables in Makefile
+
+2. mkdir build
+
+3. extract the source tree of whatever you are building, in the build dir.
+
+4. make
+
+You also have a choice of some optional subtargets, such as
+ make {configure,build,package,clean,reallyclean}
+
+If you wish a patch set to be applied to the source before configure, create
+a file called "patchfile.preconf" and put them there.
+
+If you wish a patch set to be applied to the source AFTER configure, but
+before compiling (for example, to hand-hack config.h) create a file called
+"patchfile.postconf"
+
+
+DONT FORGET to update all fields in the pkginfo file, and also to create
+appropriate copyright, depend and prototype files.
+If you dont know what to put into
+the prototype file, an initial build will most likely bomb out, after creating
+one for you in build/*/cswstage/prototype.
+
Modified: csw/mgar/pkg/TEMPLATES/createpkg/copy_template
===================================================================
--- csw/mgar/pkg/TEMPLATES/createpkg/copy_template 2010-05-26 18:46:13 UTC (rev 10001)
+++ csw/mgar/pkg/TEMPLATES/createpkg/copy_template 2010-05-26 19:21:41 UTC (rev 10002)
@@ -47,6 +47,7 @@
cp $template_dir/Makefile* $DESTDIR
+cp $template_dir/README* $DESTDIR
cp $template_dir/prototype* $DESTDIR
$template_dir/generate_pkginfo >$DESTDIR/pkginfo
print "OPENCSW_REPOSITORY=$MY_SVN_DIR/$DESTDIR" >>$DESTDIR/pkginfo
Modified: csw/mgar/pkg/TEMPLATES/createpkg/prototype
===================================================================
--- csw/mgar/pkg/TEMPLATES/createpkg/prototype 2010-05-26 18:46:13 UTC (rev 10001)
+++ csw/mgar/pkg/TEMPLATES/createpkg/prototype 2010-05-26 19:21:41 UTC (rev 10002)
@@ -1,3 +1,4 @@
i pkginfo
i depend
i copyright
+f none /some/file/here 0755 root bin
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list