APKBUILD examples:Php

From Alpine Linux
Revision as of 18:12, 31 August 2016 by Jirutka (talk | contribs) (Change _builddir to builddir)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Add phpize to the build() section.

build() {
	cd "$builddir"

	phpize || return 1
	./configure --prefix=/usr || return 1
	make || return 1
}