example11.json 1.1 KB

123456789101112131415161718192021222324252627282930
  1. {
  2. "id": "test11",
  3. "description": [
  4. { "hu", "Név11", "Leírás 11" },
  5. { "en", "Name11", "Description 11" }
  6. ],
  7. "version": "0.0.1",
  8. "release": "0.0-beta",
  9. "license": "MIT",
  10. "category": "multimedia",
  11. "url": "file://@URL/test11-$VERSION-$ARCH.zip",
  12. "eula": "file://@URL/../LICENSE",
  13. "homepage": "https://myuser.github.io/test11",
  14. "bugtracker": "https://github.com/myuser/test11/issues",
  15. "depends": [ "test1" ],
  16. "postinst": {
  17. "env": [
  18. { "name": "FEAT1", "type": "chk(disable,enable)", "desc": [ { "en", "Some feature", "Adds X feature" } ] },
  19. { "name": "CFLAGS", "type": "str(-ansi -Wall)", "desc": [ { "en", "Compiler flags", "Specify gcc flags" } ] },
  20. { "name": "LDFLAGS", "type": "str(-nostdlibs)", "desc": [ { "en", "Linker flags", "Specify ld flags" } ] },
  21. { "name": "MAKEJ", "type": "num(1,16,2)", "desc": [ { "en", "Threads", "Number of threads" } ] }
  22. ],
  23. "commands": [
  24. "$SRCDIR/configure --with-cflags=$CFLAGS --with-ldflags=$LDFLAGS --$FEAT1-somefeature",
  25. "make -C $SRCDIR -j $MAKEJ all",
  26. "make -C $SRCDIR install"
  27. ]
  28. }
  29. }