Difference between revisions of "APKBUILD examples:Php"

From Alpine Linux
Jump to: navigation, search
m (added to Development Category)
(Change _builddir to builddir)
 
(3 intermediate revisions by 3 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 10: Line 11:
 
</pre>
 
</pre>
  
[[Category:Development]]
+
[[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
}