APKBUILD examples:Php: Difference between revisions

From Alpine Linux
(Category:PHP)
(Change _builddir to builddir)
 
(2 intermediate revisions by 2 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

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
}