summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-12-20 08:16:21 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-12-22 21:28:29 (GMT)
commitc098cd5f6c79b96fed2eb118a184df5d713c8a0a (patch)
tree6ab2d1c7ad65b9abae0eed0cac302a9bb8be46cd
parentcf8930dde0620d7d198830558cb7ef7cacc9e482 (diff)
downloadmxe-c098cd5f6c79b96fed2eb118a184df5d713c8a0a.zip
mxe-c098cd5f6c79b96fed2eb118a184df5d713c8a0a.tar.gz
mxe-c098cd5f6c79b96fed2eb118a184df5d713c8a0a.tar.bz2
index.html: update "Creating Packages"
-rw-r--r--docs/index.html53
1 files changed, 24 insertions, 29 deletions
diff --git a/docs/index.html b/docs/index.html
index f7a826c..e6f6161 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1267,6 +1267,30 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<pre>$(PKG)_DEPS := gcc ...</pre>
<p>
+ Specify official name and website of a package.
+ If the official name coincides with the package name,
+ you can omit <code>$(PKG)_DESCR</code>.
+ </p>
+ <pre>
+PKG := libdvdetect
+$(PKG)_WEBSITE := https://www.dvdetect.de/
+$(PKG)_DESCR := Fast database lookup for DVDs</pre>
+
+ <p>
+ Always look for the SSL version of URLs, that is,
+ prefer <code>https://</code> URLs over <code>http://</code> URLs.
+ </p>
+ </li>
+
+ <li>
+ <p>
+ Write your <code>$(PKG)_BUILD</code>.
+ If your library has a <code>./configure</code> script,
+ enable/disable all dependency libraries explicitly
+ via "<code>--enable-*</code>" and "<code>--disable-*</code>" options.
+ </p>
+
+ <p>
Things not to do:
</p>
<ul>
@@ -1287,35 +1311,6 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
</li>
</ul>
- </li>
-
- <li>
- <p>
- Add your package to the <a href="#packages">list of packages</a>.
- </p>
- <p>
- Each package gets its own table row element with table cells
- specifying your package name, official name and website:
- </p>
- <pre>
-&lt;tr&gt;
- &lt;td class="package"&gt;gettext&lt;/td&gt;
- &lt;td class="website"&gt;&lt;a href="https://www.gnu.org/software/gettext/"&gt;gettext&lt;/a&gt;&lt;/td&gt;
-&lt;/tr&gt;</pre>
- <p>
- Always look for the SSL version of a website, that is,
- prefer <code>https://</code> URLs over <code>http://</code> URLs.
- </p>
- </li>
-
- <li>
- <p>
- Write your <code>$(PKG)_BUILD</code>.
- If your library has a <code>./configure</code> script,
- enable/disable all dependency libraries explicitly
- via "<code>--enable-*</code>" and "<code>--disable-*</code>" options.
- </p>
-
<p>
Useful Makefile variables provided by MXE:
</p>