1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh MAKEDEPS="python" DEPS="%deps%" PKG_VER=%version% SOURCE=%url% MAKEDEPS="python" DESC="%desc%" build() { python setup.py build } package () { python setup.py install --root="$PKG_DEST" --optimize=1 }