APKBUILD examples:Php: Difference between revisions

From Alpine Linux
No edit summary
(Change _builddir to builddir)
 
(4 intermediate revisions by 4 users not shown)
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
Line 9: Line 10:
}
}
</pre>
</pre>
[[Category:Development]] [[Category:PHP]]

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
}