the state of koha for macports
I regulary recieved enthusiastics emails since a wrote cpan2port and
successfully installed koha on macosx. Today, as the answer seems to be almost
identical most of the time, i blog it:
I wrote cpan2port to install koha and i was able to create every required
portfiles for it. I didn’t put them in the port tree because i knew that i
would not be enable to maintain them. Unfortunately, i have no more time to
work on it (if you want me to contribute again, concider funding
Biblibre, my employer).
Ryan Schmidt put cpan2port in contrib and now maintain it.
So how to feed your local repository to install koha?
1) Extract the dependancies list from the sources:
perl -lne "/PREREQ_PM =>/../}/ and /'(.*?)'/ and print \$1" Makefile.PL > DEPS
2) delete from DEPS where the Portfile still exist or the module is a part of
the core distribution.
3) feed your repo
mkdir repo &&
cd repo &&
cpan2port -t < ../DEPSFAQ:
AFAIR: « Test::Harness is not perl porter » means that Test::Harness is a
package from core distribution so you don’t have to package it (so it’s not a good idea to package it again) but my script don’t deal with dual life modules
such as Test::Harness. I don’t remember if there is a way to deal with
it. BTW: i didn’t create a Portfile for it and my koha works fine.
Related posts: