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