diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 22:47:55 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 22:47:55 +0200 |
commit | 31dfdbcd16958eff153fd9622c0623d5c50eef62 (patch) | |
tree | 5c12f86de537d745036ba8c1ac43f13f3b599f7f /extra/p5-tk/Pkgfile | |
parent | a6f3f7e8e485fd140fe12fcbd15144fd62f9cb9d (diff) | |
download | nutyx-pakxe-31dfdbcd16958eff153fd9622c0623d5c50eef62.tar.gz nutyx-pakxe-31dfdbcd16958eff153fd9622c0623d5c50eef62.tar.bz2 nutyx-pakxe-31dfdbcd16958eff153fd9622c0623d5c50eef62.tar.xz nutyx-pakxe-31dfdbcd16958eff153fd9622c0623d5c50eef62.zip |
Ajout de p5-tk#804.028_501-1
Diffstat (limited to 'extra/p5-tk/Pkgfile')
-rw-r--r-- | extra/p5-tk/Pkgfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/p5-tk/Pkgfile b/extra/p5-tk/Pkgfile new file mode 100644 index 000000000..9010957f0 --- /dev/null +++ b/extra/p5-tk/Pkgfile @@ -0,0 +1,22 @@ +# Description: Connecteur perl pour tk +# URL: http://search.cpan.org/~ni-s/Tk-804.027/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: perl, tk + +name=p5-tk +version=804.028_501 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-$version.tar.gz) + +build() { + cd Tk-$version + perl Makefile.PL + make OPTIMIZE="${CFLAGS}" + make DESTDIR=$PKG install + find $PKG \ + -name perllocal.pod \ + -o -name .packlist | xargs rm + find $PKG -empty | xargs rmdir -p ||: + chown -R root:root $PKG +} |