| 122 | === Example package file === |
| 123 | {{{ |
| 124 | name example |
| 125 | version 42.17-12 |
| 126 | architecture x86_gcc2 |
| 127 | summary "This is an example package file" |
| 128 | description "Haiku has a very powerful package management system. Really, you should try it! |
| 129 | it even supports muliline strings in package descriptions" |
| 130 | packager "John Doe <test@example.com>" |
| 131 | vendor "Haiku Project" |
| 132 | licenses { |
| 133 | "MIT" |
| 134 | } |
| 135 | copyrights { |
| 136 | "Copyright (C) 1812-2013 by John Doe <test@example.com>" |
| 137 | } |
| 138 | provides { |
| 139 | example = 42.17-12 |
| 140 | cmd:example = 3.1 |
| 141 | } |
| 142 | requires { |
| 143 | haiku >= r1~alpha4_pm_hrev46213-1 |
| 144 | lib:libpython2.6 >= 1.0 |
| 145 | } |
| 146 | urls { |
| 147 | "http://example.com/" |
| 148 | } |
| 149 | global-writable-files { |
| 150 | "settings/example/configurationFile" keep-old |
| 151 | "settings/example/serverList" keep-old |
| 152 | } |
| 153 | source-urls { |
| 154 | "Download <http://example.com/source.zip>" |
| 155 | } |
| 156 | }}} |
| 157 | |