Magellan Linux

Diff of /trunk/mage/usr/share/doc/mage/template.mage

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1636 by niro, Mon Jul 25 12:15:07 2011 UTC revision 1637 by niro, Fri Jan 13 18:20:13 2012 UTC
# Line 1  Line 1 
1  # mage-script app-dir/template.mage  # mage-script app-dir/template.mage
2    #
3    # Usually you don't need generate mage files by yourself.
4    # They can be autogenerated with smage2.
5    #   smage2 only-regen-tree /path/to/smage2/file
6    #
7    
8  PKGNAME="template"  PKGNAME="template"
9  STATE="stable|unstable|old"  STATE="stable|unstable|old"
10  #PKGTYPE="sources|virtual"  
11    #PKGTYPE="virtual"
12    
13  DESCRIPTION="description"  DESCRIPTION="description"
14  HOMEPAGE="http://www.foobar.foo/"  HOMEPAGE="http://www.foobar.foo/"
# Line 11  DEPEND=">= app-dir/foobar" Line 17  DEPEND=">= app-dir/foobar"
17  SDEPEND=">= sys-dev/foo"  SDEPEND=">= sys-dev/foo"
18  PROVIDE="virtual/x11"  PROVIDE="virtual/x11"
19    
20  preinstall() {  preinstall()
21    {
22   foo   foo
23  }  }
24    
25  postinstall() {  postinstall()
26    {
27   foo   foo
28  }  }

Legend:
Removed from v.1636  
changed lines
  Added in v.1637