rendered paste bodyclass PhpPamAuth(CPackageRecipe):
name = 'php-pam-auth'
version = '4.0'
buildRequires = ['php:devel', 'php:runtime', 'pam', 'pam:devel']
def setup(r):
r.addArchive('php-pam-auth-4.0.tar.gz')
srpm = 'http://www.openfiler.com/download/PACKAGES/php-pam-auth-4.0.src.rpm'
r.Run('phpize')
r.Environment('PHP_PAM_AUTH', '/usr/include/security')
r.Configure()
r.MakeDirs('%(essentialsbindir)s', '%(sysconfdir)s', '%(sbindir)s', '%(bindir)s', '%(mandir)s/man{1,2,3,8}')
r.MakeInstall(rootVar='INSTALL_ROOT')