APKBUILD examples:Php: Difference between revisions

From Alpine Linux
m (Reverted edits by RuthHughes (talk) to last revision by Dubiousjim)
(Change _builddir to builddir)
 
Line 3: Line 3:
<pre>
<pre>
build() {
build() {
cd "$_builddir"
cd "$builddir"
 
phpize || return 1
phpize || return 1
./configure --prefix=/usr || return 1
./configure --prefix=/usr || return 1

Latest revision as of 18:12, 31 August 2016

Add phpize to the build() section.

build() {
	cd "$builddir"

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