diff --git a/srcpkgs/p7zip/template b/srcpkgs/p7zip/template index b3b037a877a..f119dc76a86 100644 --- a/srcpkgs/p7zip/template +++ b/srcpkgs/p7zip/template @@ -2,22 +2,20 @@ pkgname=p7zip version=9.20.1 wrksrc=${pkgname}_${version} -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}_src_all.tar.bz2" revision=2 -makedepends="yasm nasm" +hostmakedepends="yasm nasm" short_desc="Command-line version of the 7zip compressed file archive" homepage="http://p7zip.sourceforge.net/" license="LGPL-2.1" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}_src_all.tar.bz2" checksum=49557e7ffca08100f9fc687f4dfc5aea703ca207640c76d9dee7b66f03cb4782 long_desc=" p7zip is the Unix port of 7-Zip, a file archiver that archives with very high compression ratios." - -do_build() -{ - if [ "$XBPS_MACHINE" = "x86_64" ]; then +do_build() { + if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then cp makefile.linux_amd64_asm makefile.machine else cp makefile.linux_x86_asm_gcc_4.X makefile.machine @@ -27,11 +25,16 @@ do_build() make ${makejobs} all3 OPTFLAGS="${CXXFLAGS}" } -do_install() -{ +do_install() { make install DEST_HOME="${DESTDIR}/usr" \ DEST_MAN="${DESTDIR}/usr/share/man" \ DEST_SHARE_DOC="${DESTDIR}/usr/share/doc/${pkgname}" sed "s|${DESTDIR}/usr|/usr|g" -i ${DESTDIR}/usr/bin/7z{,a,r} } + +p7zip_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/pangomm/pangomm-devel.template b/srcpkgs/pangomm/pangomm-devel.template deleted file mode 100644 index c3960c10809..00000000000 --- a/srcpkgs/pangomm/pangomm-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'pangomm-devel'. -# -depends="glibmm-devel cairomm-devel pango-devel pangomm" -short_desc="${sourcepkg} (development files)" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/{pango*,pkgconfig} ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/pangomm/template b/srcpkgs/pangomm/template index fc0f31e47df..397e356c745 100644 --- a/srcpkgs/pangomm/template +++ b/srcpkgs/pangomm/template @@ -1,15 +1,16 @@ # Template build file for 'pangomm'. pkgname=pangomm version=2.28.4 -homepage="http://gtkmm.sourceforge.net" -distfiles="${GNOME_SITE}/pangomm/2.28/$pkgname-$version.tar.xz" +revision=3 build_style=gnu-configure configure_args="--disable-documentation" -revision=2 -makedepends="pkg-config libsigc++-devel glibmm-devel cairomm-devel pango-devel" +hostmakedepends="pkg-config +makedepends="libsigc++-devel glibmm-devel cairomm-devel pango-devel" short_desc="C++ bindings for the pango library" maintainer="Juan RP " license="LGPL-2.1" +homepage="http://gtkmm.sourceforge.net" +distfiles="${GNOME_SITE}/pangomm/2.28/$pkgname-$version.tar.xz" checksum=778dcb66a793cbfd52a9f92ee5a71b888c3603a913fc1ddc48a30204de6d6c82 long_desc=" pangomm (used to be part of gtkmm) is the official C++ interface for the @@ -17,5 +18,18 @@ long_desc=" extensible via inheritance and a comprehensive set of widget classes that can be freely combined to quickly create complex user interfaces." -subpackages="$pkgname-devel" +pangomm-devel_package() { + depends="glibmm-devel cairomm-devel pango-devel pangomm>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/pango*" + } +} +pangomm_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/pangox-compat/pangox-compat-devel.template b/srcpkgs/pangox-compat/pangox-compat-devel.template deleted file mode 100644 index f86aa95d111..00000000000 --- a/srcpkgs/pangox-compat/pangox-compat-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'pangox-compat-devel'. -# -noarch=yes -depends="libX11-devel pango-devel>=1.31 ${sourcepkg}-${version}_${revision}" -short_desc="${sourcepkg} (development files)" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/pangox-compat/template b/srcpkgs/pangox-compat/template index b9b9aae42b9..c66e1f2cdf5 100644 --- a/srcpkgs/pangox-compat/template +++ b/srcpkgs/pangox-compat/template @@ -1,12 +1,11 @@ # Template build file for 'pangox-compat'. pkgname=pangox-compat version=0.0.2 -revision=1 +revision=2 build_style=gnu-configure -replaces="pango<1.32" configure_args="--disable-static" -makedepends="pkg-config pango-devel" -subpackages="${pkgname}-devel" +hostmakedepends="pkg-config" +makedepends="pango-devel" short_desc="Library for layout and rendering of text (pangox compat library)" maintainer="Juan RP " homepage="http://www.pango.org/" @@ -17,3 +16,19 @@ long_desc=" This is a compatibility library providing the obsolete pangox library that is not shipped by Pango itself anymore. If you are still using pangox, well, really, get a life..." + +pangox-compat-devel_package() { + depends="libX11-devel pango-devel>=1.31 ${sourcepkg}-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +pangox-compat_package() { + replaces="pango<1.32" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/papyon/template b/srcpkgs/papyon/template index 9893b2425cc..35c9fd4f473 100644 --- a/srcpkgs/papyon/template +++ b/srcpkgs/papyon/template @@ -1,16 +1,14 @@ # Template file for 'papyon' pkgname=papyon version=0.5.6 -distfiles="http://www.freedesktop.org/software/papyon/releases/papyon-${version}.tar.gz" -build_style=python-module -depends="gst-python farstream" -makedepends="farstream-devel gst-python-devel" -fulldepends="python pygobject pyopenssl pycrypto" revision=2 +build_style=python-module +makedepends="farstream-devel gst-python-devel pygobject pyopenssl pycrypto" short_desc="MSN library purely written in Python" homepage="http://www.freedesktop.org/wiki/Software/papyon" license="GPL-2" maintainer="Juan RP " +distfiles="http://www.freedesktop.org/software/papyon/releases/papyon-${version}.tar.gz" checksum=85ce086ad8c0a47609d908325008c27f4fc1d88b9e9f30ed6586bf943bc828ec long_desc=" Features @@ -30,6 +28,11 @@ long_desc=" - Very solid and extensible architecture - Solid networking through a new sublibrary : gnet" -noarch=yes -pycompile_module="$pkgname tests" - +papyon_package() { + noarch="yes" + pycompile_module="papyon tests" + depends="gst-python farstream pygobject pyopenssl pycrypto" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/parted/libparted-devel.template b/srcpkgs/parted/libparted-devel.template deleted file mode 100644 index b4391297e2f..00000000000 --- a/srcpkgs/parted/libparted-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libparted-devel'. -# -depends="libparted-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/parted/libparted.template b/srcpkgs/parted/libparted.template deleted file mode 100644 index fa8d098d97f..00000000000 --- a/srcpkgs/parted/libparted.template +++ /dev/null @@ -1,7 +0,0 @@ -# Template file for 'libparted'. -# -short_desc="${short_desc} - shared library" - -do_install() { - vmove "usr/lib/*.so*" usr/lib -} diff --git a/srcpkgs/parted/template b/srcpkgs/parted/template index e61b6fd1c97..425cd34bfdb 100644 --- a/srcpkgs/parted/template +++ b/srcpkgs/parted/template @@ -2,7 +2,6 @@ pkgname=parted version=3.1 revision=3 -subpackages="libparted libparted-devel" build_style=gnu-configure configure_args="--without-included-regex --disable-rpath" hostmakedepends="pkg-config" @@ -17,3 +16,26 @@ long_desc=" GNU Parted is a program that allows you to create, destroy, resize, move and copy hard disk partitions. This is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks." + +libparted_package() { + short_desc="${short_desc} - shared library" + pkg_install() { + vmove "usr/lib/*.so*" + } +} + +libparted-devel_package() { + depends="libparted-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +parted_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/patch/template b/srcpkgs/patch/template index 8a4bdbf4954..16168f5edf4 100644 --- a/srcpkgs/patch/template +++ b/srcpkgs/patch/template @@ -2,14 +2,20 @@ pkgname=patch version=2.7.1 revision=3 -conflicts="chroot-patch>=0" build_style=gnu-configure -# Required by patch -e functionality. -fulldepends="ed" -makedepends="attr-devel" +makedepends="attr-devel ed" short_desc="Patch files using diff output" maintainer="Juan RP " homepage="http://www.gnu.org/software/patch/patch.html" license="GPL-3" distfiles="http://ftp.gnu.org/gnu/patch/patch-$version.tar.bz2" checksum=aae676de9e95051f425af4507fcc9a019941a2a1f78405e7dbd40bccf786aa11 + +patch_package() { + # Required by patch -e functionality. + depends="ed" + conflicts="chroot-patch>=0" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/patchage/template b/srcpkgs/patchage/template index 239051dd5e5..afe33cac858 100644 --- a/srcpkgs/patchage/template +++ b/srcpkgs/patchage/template @@ -5,9 +5,9 @@ revision=4 build_style=waf configure_args="--jack-dbus" makedepends="pkg-config python dbus-devel dbus-glib-devel gtkmm2-devel -libgnomecanvasmm-devel libglade-devel libglademm-devel flowcanvas-devel -alsa-lib-devel jack-devel raul-devel boost-devel" -fulldepends="graphviz jack hicolor-icon-theme" + libgnomecanvasmm-devel libglade-devel libglademm-devel flowcanvas-devel + alsa-lib-devel jack-devel raul-devel boost-devel + graphviz jack hicolor-icon-theme" short_desc="Modular patch bay for audio and MIDI based on JACK and ALSA." maintainer="davehome " license="GPL-2" @@ -18,4 +18,9 @@ long_desc=" Patchage is a modular patch bay for audio and MIDI systems based on JACK and ALSA." - +patchage_package() { + depends="graphviz jack hicolor-icon-theme" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/patchelf/template b/srcpkgs/patchelf/template index f813e03daab..6163af92566 100644 --- a/srcpkgs/patchelf/template +++ b/srcpkgs/patchelf/template @@ -16,3 +16,9 @@ long_desc=" * Change the dynamic loader (ELF interpreter) of executables * Change the RPATH of executables and libraries * Shrink the RPATH of executables and libraries" + +patchelf_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/pavucontrol/template b/srcpkgs/pavucontrol/template index 25043534d2b..b612b23b6e3 100644 --- a/srcpkgs/pavucontrol/template +++ b/srcpkgs/pavucontrol/template @@ -1,14 +1,15 @@ # Template file for 'pavucontrol' pkgname=pavucontrol version=1.0 -build_style=gnu-configure -homepage="http://freedesktop.org/software/pulseaudio/pavucontrol/" -distfiles="${homepage}/${pkgname}-${version}.tar.xz" revision=1 -makedepends="pkg-config intltool gtkmm-devel atkmm-devel glibmm-devel libsigc++-devel libcanberra-devel gtk+3-devel glib-devel pulseaudio-devel libstdc++-devel" +build_style=gnu-configure +makedepends="pkg-config intltool" +makedepends="gtkmm-devel libcanberra-devel gtk+3-devel pulseaudio-devel" short_desc="PulseAudio Volume Control" maintainer="davehome " license="GPL-2" +homepage="http://freedesktop.org/software/pulseaudio/pavucontrol/" +distfiles="${homepage}/${pkgname}-${version}.tar.xz" checksum=3dbe2865b6e3a195a8951967d9234f62cd254c30b08bdea1ecf8997b58f68cde long_desc=" PulseAudio Volume Control (pavucontrol) is a simple GTK based volume control @@ -16,3 +17,8 @@ long_desc=" tools this one allows you to control both the volume of hardware devices and of each playback stream separately." +pavucontrol_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/pbzip2/template b/srcpkgs/pbzip2/template index 63fdf7e83b0..23e77b03d05 100644 --- a/srcpkgs/pbzip2/template +++ b/srcpkgs/pbzip2/template @@ -23,3 +23,9 @@ post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} } + +pbzip2_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/pcc-libs/template b/srcpkgs/pcc-libs/template index 5977e48b698..99c7dd13f43 100644 --- a/srcpkgs/pcc-libs/template +++ b/srcpkgs/pcc-libs/template @@ -1,15 +1,14 @@ # Template file for 'pcc-libs' pkgname=pcc-libs version=1.0.0 -wrksrc=${pkgname}-${version} -distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/$pkgname-$version.tgz" -depends="glibc" -makedepends="flex" revision=2 +wrksrc=${pkgname}-${version} +makedepends="flex" short_desc="Portable C Compiler - Support Libraries" homepage="http://pcc.ludd.ltu.se/" license="Custom (BSD-like)" maintainer="Juan RP " +distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/$pkgname-$version.tgz" checksum=f89ac94e30927a28c78fc8b8b7fef617eeaf843e2268063d43e414cf3179dd62 long_desc=" The compiler is based on the original Portable C Compiler by S. C. Johnson, @@ -18,15 +17,18 @@ long_desc=" This package includes some required object files for PCC to work." - -do_build() -{ +do_build() { # Force gcc compiler. env CC=gcc ./configure --prefix=/usr make ${makejobs} } -do_install() -{ +do_install() { make DESTDIR=${DESTDIR} install } + +pcc-libs_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template index 40aa0b3ae66..c9e04758eaf 100644 --- a/srcpkgs/pcc/template +++ b/srcpkgs/pcc/template @@ -1,16 +1,15 @@ # Template file for 'pcc' pkgname=pcc version=1.0.0 -distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-$version.tgz" +revision=2 build_style=gnu-configure configure_args="--enable-tls" -revision=2 -makedepends="flex" -fulldepends="pcc-libs" +makedepends="flex pcc-libs" short_desc="Portable C Compiler" homepage="http://pcc.ludd.ltu.se/" license="Custom (BSD-like)" maintainer="Juan RP " +distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-$version.tgz" checksum=5802dbba46d6ea3f9badaa55b9044a0416bb410020c24a5c2a8a2eaaf41156cb long_desc=" The compiler is based on the original Portable C Compiler by S. C. Johnson, @@ -19,10 +18,15 @@ long_desc=" disable_parallel_build=yes - -post_install() -{ +post_install() { # Rename conflicting cpp.1 manpage. mv ${DESTDIR}/usr/share/man/man1/cpp.1 \ ${DESTDIR}/usr/share/man/man1/pcc-cpp.1 } + +pcc_package() { + depends="pcc-libs" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/pciutils/pciutils-devel.template b/srcpkgs/pciutils/pciutils-devel.template deleted file mode 100644 index f52c3282055..00000000000 --- a/srcpkgs/pciutils/pciutils-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'pciutils-devel'. -# -depends="glibc-devel pciutils>=$version" -short_desc="${sourcepkg} - development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/man/man7 usr/share/man -} diff --git a/srcpkgs/pciutils/template b/srcpkgs/pciutils/template index 00dc7803026..96d422eabcd 100644 --- a/srcpkgs/pciutils/template +++ b/srcpkgs/pciutils/template @@ -1,7 +1,7 @@ # Template file for 'pciutils' pkgname=pciutils version=3.1.10 -revision=1 +revision=2 homepage="http://mj.ucw.cz/pciutils.html" distfiles="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${pkgname}-${version}.tar.gz" subpackages="$pkgname-devel" @@ -36,3 +36,20 @@ do_install() { rm -f ${DESTDIR}/usr/sbin/update-pciids rm -f ${DESTDIR}/usr/share/man/man8/update-pciids.8 } + +pciutils-devel_package() { + depends="pciutils>=$version" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share/man/man7 + } +} + +pciutils_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/pcmanfm/template b/srcpkgs/pcmanfm/template index c321944bc5f..4e71dade5ea 100644 --- a/srcpkgs/pcmanfm/template +++ b/srcpkgs/pcmanfm/template @@ -3,12 +3,20 @@ pkgname=pcmanfm version=1.1.0 revision=1 build_style=gnu-configure -depends="libfm>=1.1.0 desktop-file-utils" -makedepends="pkg-config intltool gtk+-devel libfm-devel>=1.1.0" -conf_files="/etc/xdg/pcmanfm/default/pcmanfm.conf" +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel libfm-devel>=1.1.0" short_desc="LXDE file manager" maintainer="Juan RP " homepage="http://pcmanfm.sourceforge.net/" license="GPL-2" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=1f6301f330ad648f3322708ec6c0f680a8695a9453932fe19653bab6731e5582 + +pcmanfm_package() { + conf_files="/etc/xdg/pcmanfm/default/pcmanfm.conf" + depends="libfm>=1.1.0 desktop-file-utils" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/pekwm/template b/srcpkgs/pekwm/template index 0efddb9722c..3072120165d 100644 --- a/srcpkgs/pekwm/template +++ b/srcpkgs/pekwm/template @@ -10,19 +10,26 @@ homepage="https://www.pekwm.org/projects/pekwm" distfiles="http://www.pekwm.org/projects/pekwm/files/pekwm-$version.tar.bz2" checksum=899eef35d5d1f472dd65a08c180b9719935cb1f42eda7fada6f9b8b551c79c96 -conf_files=" -/etc/pekwm/vars -/etc/pekwm/mouse -/etc/pekwm/menu -/etc/pekwm/start -/etc/pekwm/keys -/etc/pekwm/autoproperties_typerules -/etc/pekwm/config -/etc/pekwm/autoproperties -/etc/pekwm/mouse_system -/etc/pekwm/mouse_sloppy -/etc/pekwm/mouse_click -/etc/pekwm/config_system" - -makedepends="pkg-config libjpeg-turbo-devel libpng-devel>=1.5.10 libXinerama-devel +hostmakedepends="pkg-config" +makedepends="libjpeg-turbo-devel libpng-devel>=1.5.10 libXinerama-devel libXft-devel libXrender-devel fontconfig-devel libXpm-devel libXrandr-devel" + +pekwm_package() { + conf_files=" + /etc/pekwm/vars + /etc/pekwm/mouse + /etc/pekwm/menu + /etc/pekwm/start + /etc/pekwm/keys + /etc/pekwm/autoproperties_typerules + /etc/pekwm/config + /etc/pekwm/autoproperties + /etc/pekwm/mouse_system + /etc/pekwm/mouse_sloppy + /etc/pekwm/mouse_click + /etc/pekwm/config_system" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/pelican/template b/srcpkgs/pelican/template index 070826d7db9..1acb50be646 100644 --- a/srcpkgs/pelican/template +++ b/srcpkgs/pelican/template @@ -4,16 +4,23 @@ version=3.1.1 revision=2 create_srcdir=yes noarch=yes -pycompile_module="pelican" build_style=python-module -depends="python>=2.7 python-feedgenerator python-jinja +hostmakedepends="python-distribute" +makedepends="python-devel python-feedgenerator python-jinja python-Pygments python-docutils python-blinker python-Unidecode python-Markdown" -hostmakedepends="python-distribute" -makedepends="python-devel" short_desc="Static site generator, written in Python" maintainer="Juan RP " homepage="https://github.com/getpelican/pelican" license="AGPL-3" distfiles="https://github.com/getpelican/pelican/archive/${version}.tar.gz" checksum=d7e2f83a0168ab9b3fd7c7380abbe58f0a95088221e1ecc0a610d72902d39cd8 + +pelican_package() { + noarch="yes" + pycompile_module="pelican" + depends="${makedepends}" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/pen/template b/srcpkgs/pen/template index 399bb40cf73..3ae58a343ad 100644 --- a/srcpkgs/pen/template +++ b/srcpkgs/pen/template @@ -1,14 +1,14 @@ # Template file for 'pen' pkgname=pen version=0.18.0 -homepage="http://siag.nu/pen" -distfiles="http://siag.nu/pub/pen/pen-$version.tar.gz" +revision=1 build_style=gnu-configure configure_args="--with-docdir=/usr/share/doc/pen" -revision=1 short_desc="Load balancer for simple TCP based protocols" maintainer="Juan RP " license="GPL-2" +homepage="http://siag.nu/pen" +distfiles="http://siag.nu/pub/pen/pen-$version.tar.gz" checksum=48ab2a2ca3f564cb610a10d2d5252ecf8723ed8392bac5d1fba208946c3665fa long_desc=" This is pen, a load balancer for simple tcp based protocols such as @@ -16,3 +16,9 @@ long_desc=" outside and automatically detects servers that are down and distributes clients among the available servers. This gives high availability and scalable performance." + +pen_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-Archive-Zip/template b/srcpkgs/perl-Archive-Zip/template index fe9a89d7093..2407d8e36af 100644 --- a/srcpkgs/perl-Archive-Zip/template +++ b/srcpkgs/perl-Archive-Zip/template @@ -2,13 +2,20 @@ pkgname=perl-Archive-Zip version=1.30 revision=1 -noarch=yes wrksrc="Archive-Zip-${version}" build_style=perl-module -fulldepends="perl>=5.16" +makedepends="perl>=5.16" short_desc="Provide a perl interface to ZIP archive files" maintainer="pancake " license="GPL, PerlArtistic" homepage="http://search.cpan.org/dist/Archive-Zip/" distfiles="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Archive-Zip-${version}.tar.gz" checksum=f8b472ff77b7238e423bcb351968accc562f9d20700fbf2d8ed2a65fa0fa6318 + +perl-Archive-Zip_package() { + noarch="yes" + depends="${makedepends}" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-CPAN-Meta-Requirements/template b/srcpkgs/perl-CPAN-Meta-Requirements/template index e9c5366e184..167ddee273c 100644 --- a/srcpkgs/perl-CPAN-Meta-Requirements/template +++ b/srcpkgs/perl-CPAN-Meta-Requirements/template @@ -3,8 +3,7 @@ pkgname=perl-CPAN-Meta-Requirements version=2.122 wrksrc="CPAN-Meta-Requirements-${version}" revision=2 -noarch=yes -fulldepends="perl" +makedepends="perl" build_style=perl-module short_desc="CPAN::Meta::Requirements - A set of version requirements for a CPAN dist" maintainer="tripledes " @@ -12,3 +11,11 @@ homepage="http://search.cpan.org/dist/CPAN-Meta-Requirements" license="GPL-1, Artistic" distfiles="${CPAN_SITE}/CPAN/${pkgname#perl-}-${version}.tar.gz" checksum=d0399f89f9fecc00f4db1db6222e04d35f86472562b2541d194a5a9f385d02bb + +perl-CPAN-Meta-Requirements_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-CPAN-Meta-YAML/template b/srcpkgs/perl-CPAN-Meta-YAML/template index d619620918c..8caf7574023 100644 --- a/srcpkgs/perl-CPAN-Meta-YAML/template +++ b/srcpkgs/perl-CPAN-Meta-YAML/template @@ -3,8 +3,7 @@ pkgname=perl-CPAN-Meta-YAML version=0.008 wrksrc="CPAN-Meta-YAML-${version}" revision=2 -noarch=yes -fulldepends="perl" +makedepends="perl" build_style=perl-module short_desc="CPAN::Meta::YAML - Read and write a subset of YAML for CPAN Meta files" maintainer="tripledes " @@ -12,3 +11,11 @@ homepage="http://search.cpan.org/dist/CPAN-Meta-YAML" license="GPL-1, Artistic" distfiles="${CPAN_SITE}/CPAN/${pkgname#perl-}-${version}.tar.gz" checksum=e05bb0c4fb4579fbb3e06d55ca5c56cadd0ae3cbc9d8807dffaf55639747acbb + +perl-CPAN-Meta-YAML_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-CPAN-Meta/template b/srcpkgs/perl-CPAN-Meta/template index 2bb12c4df7d..fbe93d2c7fa 100644 --- a/srcpkgs/perl-CPAN-Meta/template +++ b/srcpkgs/perl-CPAN-Meta/template @@ -3,8 +3,7 @@ pkgname=perl-CPAN-Meta version=2.120921 wrksrc="CPAN-Meta-${version}" revision=2 -noarch=yes -fulldepends="perl perl-CPAN-Meta-Requirements perl-CPAN-Meta-YAML" +makedepends="perl-CPAN-Meta-Requirements perl-CPAN-Meta-YAML" build_style=perl-module short_desc="CPAN::Meta - The distribution metadata for a CPAN dist" maintainer="tripledes " @@ -12,3 +11,11 @@ homepage="http://search.cpan.org/dist/CPAN-Meta-Requirements" license="GPL-1, Artistic" distfiles="${CPAN_SITE}/CPAN/${pkgname#perl-}-${version}.tar.gz" checksum=e9a829a3149920655f1bdb36cd061c21b3bfa52f05b67d12a3534933cccc9789 + +perl-CPAN-Meta_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-Crypt-Blowfish/template b/srcpkgs/perl-Crypt-Blowfish/template index 9bc1615b466..94a9eee2778 100644 --- a/srcpkgs/perl-Crypt-Blowfish/template +++ b/srcpkgs/perl-Crypt-Blowfish/template @@ -16,4 +16,11 @@ long_desc=" to take full advantage of Crypt::CBC when desired. Blowfish keys may be up to 448 bits (56 bytes) long." -fulldepends="perl" +makedepends="perl" + +perl-Crypt-Blowfish_package() { + depends="perl" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-Crypt-DH/template b/srcpkgs/perl-Crypt-DH/template index 9e746bd5a1d..0cda2ca3012 100644 --- a/srcpkgs/perl-Crypt-DH/template +++ b/srcpkgs/perl-Crypt-DH/template @@ -17,5 +17,12 @@ long_desc=" an insecure network without the two parties ever passing the actual shared secret, or their private keys, between them." -noarch=yes -fulldepends="perl perl-Math-BigInt-GMP" +makedepends="perl-Math-BigInt-GMP" + +perl-Crypt-DH_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-Crypt-OpenSSL-Bignum/template b/srcpkgs/perl-Crypt-OpenSSL-Bignum/template index 4c131e6e070..0ec1401b374 100644 --- a/srcpkgs/perl-Crypt-OpenSSL-Bignum/template +++ b/srcpkgs/perl-Crypt-OpenSSL-Bignum/template @@ -18,5 +18,11 @@ long_desc=" used to provide access to bignum values produced by other OpenSSL modules, such as key parameters from Crypt::OpenSSL::RSA." -fulldepends="perl" -makedepends="openssl-devel" +makedepends="perl openssl-devel" + +perl-Crypt-OpenSSL-Bignum_package() { + depends="perl" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-Encode-Locale/template b/srcpkgs/perl-Encode-Locale/template index 6b7b8edf094..019ef9e2f9b 100644 --- a/srcpkgs/perl-Encode-Locale/template +++ b/srcpkgs/perl-Encode-Locale/template @@ -1,16 +1,15 @@ # Template build file for 'perl-Encode-Locale'. pkgname=perl-Encode-Locale version=1.02 -noarch=yes -wrksrc="Encode-Locale-$version" -distfiles="${CPAN_SITE}/Encode/Encode-Locale-$version.tar.gz" -build_style=perl-module -fulldepends="perl" revision=1 +wrksrc="Encode-Locale-$version" +build_style=perl-module +makedepends="perl" short_desc="Encode::Locale - Determine the locale encoding" maintainer="davehome " homepage="http://search.cpan.org/~gaas/Encode-Locale-1.02/lib/Encode/Locale.pm" license="GPL-2" +distfiles="${CPAN_SITE}/Encode/Encode-Locale-$version.tar.gz" checksum=20c5ba2ab0ac00f0e6d5c5d405f2ccb3fdb0212de3519ec8d16688574d8d5340 long_desc=" In many applications it's wise to let Perl use Unicode for the strings it @@ -26,3 +25,11 @@ long_desc=" can be converted to Unicode strings by calling Encode::encode(locale => $bytes) and converted back again with Encode::decode(locale => $string)." + +perl-Encode-Locale_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-ExtUtils-Depends/template b/srcpkgs/perl-ExtUtils-Depends/template index a4442f09b2e..021885c7d40 100644 --- a/srcpkgs/perl-ExtUtils-Depends/template +++ b/srcpkgs/perl-ExtUtils-Depends/template @@ -3,13 +3,13 @@ pkgname=perl-ExtUtils-Depends version=0.301 revision=3 wrksrc="ExtUtils-Depends-$version" -distfiles="${SOURCEFORGE_SITE}/gtk2-perl/ExtUtils-Depends-$version.tar.gz" build_style=perl-module -fulldepends="perl" +makedepends="perl" short_desc="Easily build XS extensions that depend on XS extensions" homepage="http://gtk2-perl.sourceforge.net/" license="GPL-2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/gtk2-perl/ExtUtils-Depends-$version.tar.gz" checksum=c913136c2b6a19f7f9be2defb2ed86f01c84cd1685a0f76c9d50ee56fc2a42fc long_desc=" This module tries to make it easy to build Perl extensions that use @@ -17,4 +17,10 @@ long_desc=" that a perl extension is treated like a shared library that provides also a C and an XS interface besides the perl one." -noarch=yes +perl-ExtUtils-Depends_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-ExtUtils-PkgConfig/template b/srcpkgs/perl-ExtUtils-PkgConfig/template index 80efd13045f..08c18a95dcb 100644 --- a/srcpkgs/perl-ExtUtils-PkgConfig/template +++ b/srcpkgs/perl-ExtUtils-PkgConfig/template @@ -3,13 +3,13 @@ pkgname=perl-ExtUtils-PkgConfig version=1.12 revision=3 wrksrc="ExtUtils-PkgConfig-$version" -distfiles="${SOURCEFORGE_SITE}/gtk2-perl/ExtUtils-PkgConfig-$version.tar.gz" build_style=perl-module -fulldepends="perl pkg-config" +makedepends="perl pkg-config" short_desc="Simplistic perl interface to pkg-config" homepage="http://search.cpan.org/~xaoc/" license="LGPL-2.1" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/gtk2-perl/ExtUtils-PkgConfig-$version.tar.gz" checksum=6330b9d1165363837ac1ab014888e3d908f8fb9eb76b31a36096d0e504f6ff42 long_desc=" The pkg-config program retrieves information about installed libraries, @@ -20,4 +20,10 @@ long_desc=" libraries that pkg-config knows. It is really just boilerplate code that you would've written yourself." -noarch=yes +perl-ExtUtils-PkgConfig_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-File-Listing/template b/srcpkgs/perl-File-Listing/template index 3ecd0f18718..1b177fe3a05 100644 --- a/srcpkgs/perl-File-Listing/template +++ b/srcpkgs/perl-File-Listing/template @@ -1,19 +1,24 @@ # Template build file for 'perl-File-Listing'. pkgname=perl-File-Listing version=6.02 -wrksrc="File-Listing-$version" -distfiles="${CPAN_SITE}/File/File-Listing-$version.tar.gz" -build_style=perl-module -fulldepends="perl-HTTP-Date perl" revision=1 +wrksrc="File-Listing-$version" +build_style=perl-module +makedepends="perl-HTTP-Date perl" short_desc="File::Listing - parse directory listing" maintainer="davehome " homepage="http://search.cpan.org/~gaas/File-Listing-6.02/lib/File/Listing.pm" license="GPL-2" +distfiles="${CPAN_SITE}/File/File-Listing-$version.tar.gz" checksum=10d74be7373c1719363876c146f1f1730264585e74b6ddb7b7cb36cbc7b1ed19 long_desc=" This module exports a single function called parse_dir(), which can be used to parse directory listings." -noarch=yes - +perl-File-Listing_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-Fuse/template b/srcpkgs/perl-Fuse/template index bb6bd5b3ddc..199034a661c 100644 --- a/srcpkgs/perl-Fuse/template +++ b/srcpkgs/perl-Fuse/template @@ -3,15 +3,21 @@ pkgname=perl-Fuse version=0.14 revision=2 wrksrc="Fuse-$version" -distfiles="${CPAN_SITE}/Fuse/Fuse-$version.tar.gz" build_style=perl-module -makedepends="pkg-config fuse-devel" -fulldepends="perl>=5.16" +makedepends="pkg-config fuse-devel perl>=5.16" short_desc="Write filesystems in Perl using FUSE" maintainer="Juan RP " homepage="http://search.cpan.org/~dpavlin/Fuse-0.13/Fuse.pm" license="GPL-2" +distfiles="${CPAN_SITE}/Fuse/Fuse-$version.tar.gz" checksum=bbdd8e3933f87798736f85c2a21ad9857b2c6b2323537369cec139d6cd06da5b long_desc=" This lets you implement filesystems in perl, through the FUSE (Filesystem in USErspace) kernel/lib interface." + +perl-Fuse_package() { + depends="perl>=5.16" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-Glib/template b/srcpkgs/perl-Glib/template index 2cf647c7834..830e13ece16 100644 --- a/srcpkgs/perl-Glib/template +++ b/srcpkgs/perl-Glib/template @@ -3,14 +3,13 @@ pkgname=perl-Glib version=1.242 revision=1 wrksrc="Glib-$version" +build_style=perl-module +makedepends="perl-ExtUtils-Depends>=0.300 perl-ExtUtils-PkgConfig>=1.00 glib-devel" +short_desc="Perl bindings for Glib 2" +maintainer="Juan RP " homepage="http://gtk2-perl.sourceforge.net/" license="LGPL-2.1" distfiles="${SOURCEFORGE_SITE}/gtk2-perl/Glib-$version.tar.gz" -build_style=perl-module -makedepends="perl-ExtUtils-Depends>=0.300 perl-ExtUtils-PkgConfig>=1.00 glib-devel" -fulldepends="perl>=5.16" -short_desc="Perl bindings for Glib 2" -maintainer="Juan RP " checksum=0ebb78bcb3d10c9564473b084ef2989cf86347c1ba4acd5e55bc6c46b6d08d78 long_desc=" This module provides perl access to GLib and GLib's GObject libraries. @@ -19,3 +18,10 @@ long_desc=" these libraries are used as the foundation for many of the libraries that make up the Gnome environment, and are used in many unrelated projects." + +perl-Glib_package() { + depends="perl>=5.16" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-HTML-Form/template b/srcpkgs/perl-HTML-Form/template index bcedf120466..e81b25f26f0 100644 --- a/srcpkgs/perl-HTML-Form/template +++ b/srcpkgs/perl-HTML-Form/template @@ -1,15 +1,15 @@ # Template build file for 'perl-HTML-Form'. pkgname=perl-HTML-Form version=6.00 -wrksrc="HTML-Form-$version" -distfiles="${CPAN_SITE}/HTML/HTML-Form-$version.tar.gz" -build_style=perl-module -fulldepends="perl-HTML-Parser perl-URI perl-HTTP-Message perl" revision=1 +wrksrc="HTML-Form-$version" +build_style=perl-module +makedepends="perl-HTML-Parser perl-URI perl-HTTP-Message perl" short_desc="HTML::Form - Class that represents an HTML form element" maintainer="davehome " homepage="http://search.cpan.org/~gaas/HTML-Form-6.00/lib/HTML/Form.pm" license="GPL-2" +distfiles="${CPAN_SITE}/HTML/HTML-Form-$version.tar.gz" checksum=b41b6f5480493d427a56974c0fb6f51e807d93938ef1518dd22454b93cad4987 long_desc=" Objects of the HTML::Form class represents a single HTML FORM tag instance. @@ -18,5 +18,10 @@ long_desc=" then be asked to provide HTTP::Request objects that can be passed to the request() method of LWP::UserAgent." -noarch=yes - +perl-HTML-Form_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-HTML-Parser/template b/srcpkgs/perl-HTML-Parser/template index 2503304e7d0..dc68fccf8f3 100644 --- a/srcpkgs/perl-HTML-Parser/template +++ b/srcpkgs/perl-HTML-Parser/template @@ -3,14 +3,21 @@ pkgname=perl-HTML-Parser version=3.70 revision=1 wrksrc="HTML-Parser-$version" -distfiles="${CPAN_SITE}/HTML/HTML-Parser-$version.tar.gz" build_style=perl-module -fulldepends="perl>=5.16 perl-HTML-Tagset" +makedepends="perl>=5.16 perl-HTML-Tagset" short_desc="HTML::Parser - HTML parser class" homepage="http://search.cpan.org/~gaas/HTML-Parser-3.68/Parser.pm" license="GPL-1+/Artistic" maintainer="davehome " +distfiles="${CPAN_SITE}/HTML/HTML-Parser-$version.tar.gz" checksum=a9a18c79b1d2b315daedafe7598dc1068d562eaeaa5bd46265a6ebd2805446c1 long_desc=" The HTML-Parser distribution is is a collection of modules that parse and extract information from HTML documents." + +perl-HTML-Parser_package() { + depends="${makedepends}" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-HTML-Tagset/template b/srcpkgs/perl-HTML-Tagset/template index f49ed251f4e..c639cb5b40c 100644 --- a/srcpkgs/perl-HTML-Tagset/template +++ b/srcpkgs/perl-HTML-Tagset/template @@ -1,19 +1,24 @@ # Template build file for 'perl-Tagset'. pkgname=perl-HTML-Tagset version=3.20 -wrksrc="HTML-Tagset-$version" -distfiles="${CPAN_SITE}/HTML/HTML-Tagset-$version.tar.gz" -build_style=perl-module -fulldepends="perl" revision=2 +wrksrc="HTML-Tagset-$version" +build_style=perl-module +makedepends="perl" short_desc="HTML::Tagset - data tables useful in parsing HTML" homepage="http://search.cpan.org/~petdance/HTML-Tagset-3.20/Tagset.pm" license="GPL-1+/Artistic" maintainer="davehome " +distfiles="${CPAN_SITE}/HTML/HTML-Tagset-$version.tar.gz" checksum=adb17dac9e36cd011f5243881c9739417fd102fce760f8de4e9be4c7131108e2 long_desc=" This module contains several data tables useful in various kinds of HTML parsing operations." -noarch=yes - +perl-HTML-Tagset_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-HTTP-Cookies/template b/srcpkgs/perl-HTTP-Cookies/template index 05c54add664..2edbe87b1ad 100644 --- a/srcpkgs/perl-HTTP-Cookies/template +++ b/srcpkgs/perl-HTTP-Cookies/template @@ -1,15 +1,15 @@ # Template build file for 'perl-HTTP-Cookies'. pkgname=perl-HTTP-Cookies version=6.00 -wrksrc="HTTP-Cookies-$version" -distfiles="${CPAN_SITE}/HTTP/HTTP-Cookies-$version.tar.gz" -build_style=perl-module -fulldepends="perl-HTTP-Message perl" revision=1 +wrksrc="HTTP-Cookies-$version" +build_style=perl-module +makedepends="perl-HTTP-Message" short_desc="HTTP::Cookies - HTTP cookie jars" maintainer="davehome " homepage="http://search.cpan.org/~gaas/HTTP-Cookies-6.00/lib/HTTP/Cookies.pm" license="GPL-2" +distfiles="${CPAN_SITE}/HTTP/HTTP-Cookies-$version.tar.gz" checksum=30b5741894696493748336226b91e1a6bda66480f5fa758f5ce10b21f360a81c long_desc=" This class is for objects that represent a cookie jar -- that is, a database @@ -27,5 +27,10 @@ long_desc=" initialize Cookie-headers in HTTP::Request objects. The state of a HTTP::Cookies object can be saved in and restored from files." -noarch=yes - +perl-HTTP-Cookies_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-HTTP-Daemon/template b/srcpkgs/perl-HTTP-Daemon/template index 9dc70c66a3c..8044a91f68e 100644 --- a/srcpkgs/perl-HTTP-Daemon/template +++ b/srcpkgs/perl-HTTP-Daemon/template @@ -1,20 +1,25 @@ # Template build file for 'perl-HTTP-Daemon'. pkgname=perl-HTTP-Daemon version=6.00 -wrksrc="HTTP-Daemon-$version" -distfiles="${CPAN_SITE}/HTTP/HTTP-Daemon-$version.tar.gz" -build_style=perl-module -fulldepends="perl-HTTP-Message perl-LWP-MediaTypes perl" revision=1 +wrksrc="HTTP-Daemon-$version" +build_style=perl-module +makedepends="perl-HTTP-Message perl-LWP-MediaTypes" short_desc="HTTP::Daemon - a simple http server class" maintainer="davehome " homepage="http://search.cpan.org/~gaas/HTTP-Daemon-6.00/lib/HTTP/Daemon.pm" license="GPL-2" +distfiles="${CPAN_SITE}/HTTP/HTTP-Daemon-$version.tar.gz" checksum=4801d349c52813a1e49d6b31962f45705bae76fb907279e75933596c04e0de89 long_desc=" Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen on a socket for incoming requests. The HTTP::Daemon is a subclass of IO::Socket::INET, so you can perform socket operations directly on it too." -noarch=yes - +perl-HTTP-Daemon_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-HTTP-Date/template b/srcpkgs/perl-HTTP-Date/template index 9c14c0aa2f6..65d6908bb14 100644 --- a/srcpkgs/perl-HTTP-Date/template +++ b/srcpkgs/perl-HTTP-Date/template @@ -1,20 +1,25 @@ # Template build file for 'perl-HTTP-Date'. pkgname=perl-HTTP-Date version=6.00 -wrksrc="HTTP-Date-$version" -distfiles="${CPAN_SITE}/HTTP/HTTP-Date-$version.tar.gz" -build_style=perl-module -fulldepends="perl" revision=1 +wrksrc="HTTP-Date-$version" +build_style=perl-module +makedepends="perl" short_desc="HTTP::Date - date conversion routines" maintainer="davehome " homepage="http://search.cpan.org/~gaas/HTTP-Date-6.00/lib/HTTP/Date.pm" license="GPL-2" +distfiles="${CPAN_SITE}/HTTP/HTTP-Date-$version.tar.gz" checksum=466f7328a1ff465e64c57d18ba2bf5a577fe137c126850e9680d7792a3b3d996 long_desc=" This module provides functions that deal the date formats used by the HTTP protocol (and then some more). Only the first two functions, time2str() and str2time(), are exported by default." -noarch=yes - +perl-HTTP-Date_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-HTTP-Message/template b/srcpkgs/perl-HTTP-Message/template index 92a5d6b145c..61a73a897c2 100644 --- a/srcpkgs/perl-HTTP-Message/template +++ b/srcpkgs/perl-HTTP-Message/template @@ -3,13 +3,13 @@ pkgname=perl-HTTP-Message version=6.02 revision=2 wrksrc="HTTP-Message-$version" -distfiles="${CPAN_SITE}/HTTP/HTTP-Message-$version.tar.gz" build_style=perl-module -fulldepends="perl-LWP-MediaTypes perl-Encode-Locale perl-URI perl-HTTP-Date perl-HTML-Parser perl" +makedepends="perl-LWP-MediaTypes perl-Encode-Locale perl-URI perl-HTTP-Date perl-HTML-Parser" short_desc="HTTP::Message - HTTP style message (base class)" maintainer="davehome " homepage="http://search.cpan.org/~gaas/HTTP-Message-6.02/lib/HTTP/Message.pm" license="GPL-2" +distfiles="${CPAN_SITE}/HTTP/HTTP-Message-$version.tar.gz" checksum=2331b3c82e8a9674e596e4583f13a655d24d2e3c7165f3bdc6def4b5d4165181 long_desc=' An HTTP::Message object contains some headers and a content body. The @@ -19,5 +19,10 @@ long_desc=' $mess = HTTP::Message->new( $headers ) $mess = HTTP::Message->new( $headers, $content )' -noarch=yes - +perl-HTTP-Message_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-HTTP-Negotiate/template b/srcpkgs/perl-HTTP-Negotiate/template index 8961b74763a..d8e24543e59 100644 --- a/srcpkgs/perl-HTTP-Negotiate/template +++ b/srcpkgs/perl-HTTP-Negotiate/template @@ -1,15 +1,15 @@ # Template build file for 'perl-HTTP-Negotiate'. pkgname=perl-HTTP-Negotiate version=6.00 -wrksrc="HTTP-Negotiate-$version" -distfiles="${CPAN_SITE}/HTTP/HTTP-Negotiate-$version.tar.gz" -build_style=perl-module -fulldepends="perl-HTTP-Message perl" revision=1 +wrksrc="HTTP-Negotiate-$version" +build_style=perl-module +makedepends="perl-HTTP-Message" short_desc="HTTP::Negotiate - choose a variant to serve" maintainer="davehome " homepage="http://search.cpan.org/~gaas/HTTP-Negotiate-6.00/lib/HTTP/Negotiate.pm" license="GPL-2" +distfiles="${CPAN_SITE}/HTTP/HTTP-Negotiate-$version.tar.gz" checksum=4e070ea67427ab1843620debc923b820bd41b9018914dfef54bbc7af9257ae82 long_desc=" This module provides a complete implementation of the HTTP content @@ -18,5 +18,10 @@ long_desc=" representation based upon attributes of the negotiable variants and the value of the various Accept* header fields in the request." -noarch=yes - +perl-HTTP-Negotiate_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-IO-Tty/template b/srcpkgs/perl-IO-Tty/template index d85e1dff84d..7799d7e09f0 100644 --- a/srcpkgs/perl-IO-Tty/template +++ b/srcpkgs/perl-IO-Tty/template @@ -3,13 +3,20 @@ pkgname=perl-IO-Tty version=1.10 revision=1 wrksrc="IO-Tty-$version" -distfiles="${CPAN_SITE}/IO/IO-Tty-$version.tar.gz" build_style=perl-module -fulldepends="perl>=5.16" +makedepends="perl>=5.16" short_desc="IO::Tty - Perl interface to Low-level allocate a pseudo-Tty" maintainer="davehome " homepage="http://search.cpan.org/dist/IO-Tty/" license="GPL-2" +distfiles="${CPAN_SITE}/IO/IO-Tty-$version.tar.gz" checksum=31a6e21ad187ec5ea93c2b898d6b3519647c5fce9f394b6d3c05a1f7c3f6f8b1 long_desc=" IO::Tty and IO::Pty provide an interface to pseudo tty's." + +perl-IO-Tty_package() { + depends="${makedepends}" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-IPC-Run/template b/srcpkgs/perl-IPC-Run/template index 38206f11baf..3708afc3d96 100644 --- a/srcpkgs/perl-IPC-Run/template +++ b/srcpkgs/perl-IPC-Run/template @@ -1,15 +1,15 @@ # Template build file for 'perl-IPC-Run'. pkgname=perl-IPC-Run version=0.90 -wrksrc="IPC-Run-$version" -distfiles="${CPAN_SITE}/IPC/IPC-Run-$version.tar.gz" -build_style=perl-module -fulldepends="perl" revision=1 +wrksrc="IPC-Run-$version" +build_style=perl-module +makedepends="perl" short_desc="system() and background procs w/ piping, redirs, ptys" maintainer="Juan RP " homepage="http://search.cpan.org/dist/IPC-Run/lib/IPC/Run.pm" license="GPL-2" +distfiles="${CPAN_SITE}/IPC/IPC-Run-$version.tar.gz" checksum=2f0070e34e5a10e5e4e4efdb812b01c7e32919818d43a030d90ca34200902883 long_desc=" IPC::Run allows you to run and interact with child processes using files, @@ -17,4 +17,10 @@ long_desc=" supported and may be mixed. Likewise, functional and OO API styles are both supported and may be mixed." -noarch=yes +perl-IPC-Run_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-LWP-MediaTypes/template b/srcpkgs/perl-LWP-MediaTypes/template index c76a50070fa..a1e800a1b08 100644 --- a/srcpkgs/perl-LWP-MediaTypes/template +++ b/srcpkgs/perl-LWP-MediaTypes/template @@ -1,15 +1,15 @@ # Template build file for 'perl-LWP-MediaTypes'. pkgname=perl-LWP-MediaTypes version=6.01 -wrksrc="LWP-MediaTypes-$version" -distfiles="${CPAN_SITE}/LWP/LWP-MediaTypes-$version.tar.gz" -build_style=perl-module -fulldepends="perl" revision=1 +wrksrc="LWP-MediaTypes-$version" +build_style=perl-module +makedepends="perl" short_desc="LWP::MediaTypes - guess media type for a file or a URL" maintainer="davehome " homepage="http://search.cpan.org/~gaas/LWP-MediaTypes-6.01/lib/LWP/MediaTypes.pm" license="GPL-2" +distfiles="${CPAN_SITE}/LWP/LWP-MediaTypes-$version.tar.gz" checksum=df25a848796bb53ae465924fb1192a19400f37d7446b2fe7f73443db07c51dba long_desc=" This module provides functions for handling media (also known as MIME) types @@ -17,5 +17,10 @@ long_desc=" the media.types file. If the ~/.media.types file exists it is used instead. For backwards compatibility we will also look for ~/.mime.types." -noarch=yes - +perl-LWP-MediaTypes_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-LWP/template b/srcpkgs/perl-LWP/template index a745b24546a..cfb396c429e 100644 --- a/srcpkgs/perl-LWP/template +++ b/srcpkgs/perl-LWP/template @@ -1,15 +1,17 @@ # Template build file for 'perl-LWP'. pkgname=perl-LWP version=6.02 -wrksrc="libwww-perl-$version" -distfiles="${CPAN_SITE}/LWP/libwww-perl-$version.tar.gz" -build_style=perl-module -fulldepends="perl-URI perl-LWP-MediaTypes perl-Encode-Locale perl-HTTP-Message perl-File-Listing perl-HTTP-Negotiate perl-HTTP-Daemon perl-Net-HTTP perl-HTTP-Cookies perl-WWW-RobotRules perl" revision=1 +wrksrc="libwww-perl-$version" +build_style=perl-module +makedepends="perl-URI perl-LWP-MediaTypes perl-Encode-Locale perl-HTTP-Message + perl-File-Listing perl-HTTP-Negotiate perl-HTTP-Daemon perl-Net-HTTP + perl-HTTP-Cookies perl-WWW-RobotRules perl" short_desc="LWP - The World-Wide Web library for Perl (libwww-perl)" maintainer="davehome " homepage="http://search.cpan.org/~gaas/libwww-perl-6.02/lib/LWP.pm" license="GPL-2" +distfiles="${CPAN_SITE}/LWP/libwww-perl-$version.tar.gz" checksum=b5193e9e2eb2fa6ff8b7d4d22ec4e9010706f65b6042e86cc537d7f2f362c232 long_desc=" The libwww-perl collection is a set of Perl modules which provides a simple @@ -23,5 +25,10 @@ long_desc=" by objects. This makes a simple and powerful interface to these services. The interface is easy to extend and customize for your own needs." -noarch=yes - +perl-LWP_package() { + depends="${makedepends}" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/perl-Math-BigInt-GMP/template b/srcpkgs/perl-Math-BigInt-GMP/template index d29444ac81b..0bd367435c5 100644 --- a/srcpkgs/perl-Math-BigInt-GMP/template +++ b/srcpkgs/perl-Math-BigInt-GMP/template @@ -1,8 +1,8 @@ # Template build file for 'perl-Math-BigInt-GMP'. pkgname=perl-Math-BigInt-GMP version=1.36 -wrksrc="Math-BigInt-GMP-${version}" revision=1 +wrksrc="Math-BigInt-GMP-${version}" build_style=perl-module short_desc="Math::BigInt::GMP - Use the GMP library for Math::BigInt routines" maintainer="Juan RP