newapkbuild: assume perl package if package name starts with perl-
This commit is contained in:
parent
b581f87e85
commit
50cfdd620a
@ -131,7 +131,7 @@ __EOF__
|
|||||||
if [ -z "$buildtype" ]; then
|
if [ -z "$buildtype" ]; then
|
||||||
if [ -x "$sdir"/configure ]; then
|
if [ -x "$sdir"/configure ]; then
|
||||||
buildtype="autotools"
|
buildtype="autotools"
|
||||||
elif [ -r "$sdir"/Makefile.PL ]; then
|
elif [ -r "$sdir"/Makefile.PL ] || [ "${pn#perl-}" != "$pn" ]; then
|
||||||
buildtype="perl"
|
buildtype="perl"
|
||||||
elif [ -r "$sdir"/waf ]; then
|
elif [ -r "$sdir"/waf ]; then
|
||||||
buildtype="waf"
|
buildtype="waf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user