From c098cd5f6c79b96fed2eb118a184df5d713c8a0a Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Tue, 20 Dec 2016 09:16:21 +0100 Subject: index.html: update "Creating Packages" --- docs/index.html | 53 ++++++++++++++++++++++++----------------------------- 1 file 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)
$(PKG)_DEPS     := gcc ...

+ Specify official name and website of a package. + If the official name coincides with the package name, + you can omit $(PKG)_DESCR. +

+
+PKG             := libdvdetect
+$(PKG)_WEBSITE  := https://www.dvdetect.de/
+$(PKG)_DESCR    := Fast database lookup for DVDs
+ +

+ Always look for the SSL version of URLs, that is, + prefer https:// URLs over http:// URLs. +

+ + +
  • +

    + Write your $(PKG)_BUILD. + If your library has a ./configure script, + enable/disable all dependency libraries explicitly + via "--enable-*" and "--disable-*" options. +

    + +

    Things not to do:

    -
  • - -
  • -

    - Add your package to the list of packages. -

    -

    - Each package gets its own table row element with table cells - specifying your package name, official name and website: -

    -
    -<tr>
    -    <td class="package">gettext</td>
    -    <td class="website"><a href="https://www.gnu.org/software/gettext/">gettext</a></td>
    -</tr>
    -

    - Always look for the SSL version of a website, that is, - prefer https:// URLs over http:// URLs. -

    -
  • - -
  • -

    - Write your $(PKG)_BUILD. - If your library has a ./configure script, - enable/disable all dependency libraries explicitly - via "--enable-*" and "--disable-*" options. -

    -

    Useful Makefile variables provided by MXE:

    -- cgit v0.12