You are not logged in.

#1 2003-09-04 16:10:42

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

has anyone tried to pack CPAN modules

i wanted to build yeemp
http://deekoo.net/technocracy/yeemp/
but it needs some modules from CPAN ... well i know how to get them for my machine over the perl-cpan shell, but this is not the arch-way ... has anyone tried to pack them to packages?


The impossible missions are the only ones which succeed.

Offline

#2 2003-09-04 17:14:53

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: has anyone tried to pack CPAN modules

Yes, and it's annoying.  Very very annoying.

If you want examples check things like perltk in unofficial.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#3 2003-09-04 19:17:39

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: has anyone tried to pack CPAN modules

# $Id: PKGBUILD,v 1.2 2003/05/20 01:00:10 jason Exp $
# Contributor: Jason Chu <jchu@xentac.net>

pkgname=perltk
pkgver=804.024
pkgrel=1
pkgdesc="This module/script allows perl to interface with tk"
depends=('perl')
source=(http://cpan.org/authors/id/N/NI/NI-S/Tk804.0_24.tar.gz)
url="http://search.cpan.org/author/NI-S/"

build() {
  cd $startdir/src/Tk$pkgver
  perl Makefile.PL
  make || return 1
  make PREFIX=$startdir/pkg/usr SITEPREFIX=$startdir/pkg/usr install
  # Not sure what this file is for... but another package has one
  #  and they conflict... so I remove it
  rm $startdir/pkg/usr/lib/perl5/site_perl/5.8.0/i686-linux/perllocal.pod
}

does anybody know what this perllocal.pod is?

the perl modules i build generate the same file

i dont want to remove any file without a reason (=want to know what i'm doing :-)


The impossible missions are the only ones which succeed.

Offline

#4 2003-09-04 19:49:18

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: has anyone tried to pack CPAN modules

according to apeiro these files should not be installed. i believe they are just database module that cpan uses. there fore they are pointless in an arch package. perl packages can be alot more detailed than the one you post here. many do not have an easy ./configure&&make&&make install. often doing the make install part wil create an empty package as the files go directly to your computer.

just execute caution when building.


AKA uknowme

I am not your friend

Offline

#5 2003-09-04 20:27:47

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: has anyone tried to pack CPAN modules

sarah31 wrote:

according to apeiro these files should not be installed. i believe they are just database module that cpan uses. there fore they are pointless in an arch package. perl packages can be alot more detailed than the one you post here. many do not have an easy ./configure&&make&&make install. often doing the make install part wil create an empty package as the files go directly to your computer.

just execute caution when building.

thanx, i will remove this file from the packages that i build from cpan, ok

i'm always first building packages as a user with very little access to the system ... to prevent scripts writing something to the wrong place --- and then switch to root to build them for true, so if a script wants to write something to the wrong place, i get a permission denied and i see what i have to change


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB