From 370798958fcb8c673d9d7600ab8582700075c9d4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 13 Apr 2013 10:15:49 +0200 Subject: [PATCH] Convert packages to the new template format (l). --- srcpkgs/ladish/ladish-devel.template | 14 --- srcpkgs/ladish/template | 27 ++-- srcpkgs/laditools/template | 15 ++- srcpkgs/ladspa-sdk/ladspa-sdk-docs.template | 20 --- .../ladspa-sdk-example-plugins.template | 12 -- srcpkgs/ladspa-sdk/ladspa-sdk-progs.template | 12 -- srcpkgs/ladspa-sdk/template | 52 ++++++-- srcpkgs/lame/lame-devel.template | 9 -- srcpkgs/lame/template | 16 ++- srcpkgs/laptop-mode/template | 51 ++++++-- srcpkgs/latencytop/template | 16 ++- srcpkgs/lbreakout2/template | 15 ++- srcpkgs/leveldb/leveldb-devel.template | 10 -- srcpkgs/leveldb/template | 18 ++- srcpkgs/lftp/template | 9 +- srcpkgs/lftpfs/template | 19 +-- srcpkgs/lgi/template | 17 ++- srcpkgs/libHX/libHX-devel.template | 10 -- srcpkgs/libHX/template | 17 ++- srcpkgs/libICE/libICE-devel.template | 11 -- srcpkgs/libICE/template | 18 ++- srcpkgs/libIDL/libIDL-devel.template | 18 --- srcpkgs/libIDL/template | 28 ++++- srcpkgs/libSM/libSM-devel.template | 11 -- srcpkgs/libSM/template | 18 ++- .../libXScrnSaver-devel.template | 15 --- srcpkgs/libXScrnSaver/template | 26 +++- srcpkgs/libXaw/libXaw-devel.template | 11 -- srcpkgs/libXaw/template | 18 ++- srcpkgs/libXevie/libXevie-devel.template | 17 --- srcpkgs/libXevie/template | 24 +++- srcpkgs/libXfont/libXfont-devel.template | 11 -- srcpkgs/libXfont/template | 18 ++- .../libXfontcache-devel.template | 17 --- srcpkgs/libXfontcache/template | 28 +++-- srcpkgs/libXmu/libXmu-devel.template | 10 -- srcpkgs/libXmu/template | 17 ++- srcpkgs/libXp/libXp-devel.template | 17 --- srcpkgs/libXp/template | 26 +++- srcpkgs/libXpm/libXpm-devel.template | 10 -- srcpkgs/libXpm/template | 17 ++- srcpkgs/libXres/libXres-devel.template | 11 -- srcpkgs/libXres/template | 18 ++- srcpkgs/libXt/libXt-devel.template | 12 -- srcpkgs/libXt/template | 21 +++- srcpkgs/libXtst/libXtst-devel.template | 11 -- srcpkgs/libXtst/template | 18 ++- .../libXxf86dga/libXxf86dga-devel.template | 11 -- srcpkgs/libXxf86dga/template | 18 ++- .../libXxf86misc/libXxf86misc-devel.template | 17 --- srcpkgs/libXxf86misc/template | 24 +++- srcpkgs/libao/libao-devel.template | 12 -- srcpkgs/libao/template | 26 +++- srcpkgs/libapp/libapp-devel.template | 9 -- srcpkgs/libapp/template | 20 ++- srcpkgs/libart/libart-devel.template | 19 --- srcpkgs/libart/template | 23 +++- srcpkgs/libass/libass-devel.template | 15 --- srcpkgs/libass/template | 26 ++-- srcpkgs/libassuan/libassuan-devel.template | 15 --- srcpkgs/libassuan/template | 21 +++- srcpkgs/libasyncns/libasyncns-devel.template | 18 --- srcpkgs/libasyncns/template | 21 +++- .../libatasmart/libatasmart-devel.template | 15 --- srcpkgs/libatasmart/template | 24 +++- srcpkgs/libbluray/libbluray-devel.template | 10 -- srcpkgs/libbluray/template | 21 +++- srcpkgs/libbsd/libbsd-devel.template | 11 -- srcpkgs/libbsd/template | 18 ++- srcpkgs/libburn/cdrskin.template | 8 -- srcpkgs/libburn/libburn-devel.template | 10 -- srcpkgs/libburn/template | 26 +++- srcpkgs/libcaca/libcaca-devel.template | 12 -- srcpkgs/libcaca/template | 19 ++- .../libcanberra/libcanberra-devel.template | 15 --- srcpkgs/libcanberra/template | 20 ++- srcpkgs/libcap-ng/libcap-ng-devel.template | 15 --- srcpkgs/libcap-ng/libcap-ng-progs.template | 11 -- srcpkgs/libcap-ng/libcap-ng-python.template | 13 -- srcpkgs/libcap-ng/template | 38 +++++- srcpkgs/libcddb/libcddb-devel.template | 17 --- srcpkgs/libcddb/template | 22 +++- srcpkgs/libcdio/libcdio-devel.template | 18 --- srcpkgs/libcdio/template | 26 +++- srcpkgs/libcec/cec-client.template | 8 -- srcpkgs/libcec/libcec-devel.template | 10 -- srcpkgs/libcec/template | 27 +++- srcpkgs/libcgroup/libcgroup-devel.template | 13 -- srcpkgs/libcgroup/template | 25 +++- .../libchamplain/libchamplain-devel.template | 13 -- srcpkgs/libchamplain/template | 20 ++- srcpkgs/libconfig/libconfig++-devel.template | 10 -- srcpkgs/libconfig/libconfig++.template | 7 -- srcpkgs/libconfig/libconfig-devel.template | 11 -- srcpkgs/libconfig/template | 35 +++++- srcpkgs/libcprops/libcprops-devel.template | 10 -- srcpkgs/libcprops/template | 23 +++- srcpkgs/libcroco/libcroco-devel.template | 12 -- srcpkgs/libcroco/template | 19 ++- srcpkgs/libcryptui/libcryptui-devel.template | 11 -- srcpkgs/libcryptui/template | 23 +++- srcpkgs/libcss/libcss-devel.template | 14 --- srcpkgs/libcss/template | 30 +++-- srcpkgs/libdca/libdca-devel.template | 17 --- srcpkgs/libdca/template | 25 +++- srcpkgs/libdiscid/libdiscid-devel.template | 14 --- srcpkgs/libdiscid/template | 21 +++- .../libdmapsharing-devel.template | 14 --- srcpkgs/libdmapsharing/template | 25 +++- srcpkgs/libdmx/libdmx-devel.template | 11 -- srcpkgs/libdmx/template | 18 ++- srcpkgs/libdom/libdom-devel.template | 14 --- srcpkgs/libdom/template | 23 +++- srcpkgs/libdvbpsi/libdvbpsi-devel.template | 18 --- srcpkgs/libdvbpsi/template | 19 ++- srcpkgs/libdvdcss/libdvdcss-devel.template | 11 -- srcpkgs/libdvdcss/template | 19 ++- srcpkgs/libdvdnav/libdvdnav-devel.template | 17 --- srcpkgs/libdvdnav/template | 28 ++++- srcpkgs/libdvdread/libdvdread-devel.template | 17 --- srcpkgs/libdvdread/template | 27 +++- srcpkgs/libebml/libebml-devel.template | 17 --- srcpkgs/libebml/template | 24 +++- srcpkgs/libee/libee-devel.template | 13 -- srcpkgs/libee/template | 21 +++- srcpkgs/libepc/libepc-devel.template | 15 --- srcpkgs/libepc/template | 19 ++- srcpkgs/liberation-fonts-ttf/template | 13 +- srcpkgs/libesmtp/libesmtp-devel.template | 10 -- srcpkgs/libesmtp/template | 22 +++- srcpkgs/libestr/libestr-devel.template | 13 -- srcpkgs/libestr/template | 18 ++- srcpkgs/libev/libev-devel.template | 15 --- srcpkgs/libev/template | 23 +++- srcpkgs/libevent/libevent-devel.template | 11 -- srcpkgs/libevent/template | 18 ++- srcpkgs/libewf/libewf-devel.template | 9 -- srcpkgs/libewf/template | 22 +++- srcpkgs/libexif/libexif-devel.template | 13 -- srcpkgs/libexif/template | 19 ++- srcpkgs/libfetch/libfetch-devel.template | 10 -- srcpkgs/libfetch/template | 17 ++- srcpkgs/libfm/libfm-devel.template | 11 -- srcpkgs/libfm/template | 28 +++-- srcpkgs/libfontenc/libfontenc-devel.template | 10 -- srcpkgs/libfontenc/template | 16 +++ srcpkgs/libgdata/libgdata-devel.template | 12 -- srcpkgs/libgdata/template | 20 ++- srcpkgs/libgee/libgee-devel.template | 12 -- srcpkgs/libgee/template | 23 +++- srcpkgs/libgee08/libgee08-devel.template | 11 -- srcpkgs/libgee08/template | 20 ++- srcpkgs/libgexiv2/libgexiv2-devel.template | 11 -- srcpkgs/libgexiv2/template | 23 +++- srcpkgs/libglade/libglade-devel.template | 16 --- srcpkgs/libglade/template | 28 ++++- srcpkgs/libglademm/libglademm-devel.template | 16 --- srcpkgs/libglademm/template | 23 +++- .../libgnome-keyring-devel.template | 11 -- srcpkgs/libgnome-keyring/template | 22 +++- .../libgnomecanvas-devel.template | 16 --- srcpkgs/libgnomecanvas/template | 22 +++- .../libgnomecanvasmm-devel.template | 14 --- srcpkgs/libgnomecanvasmm/template | 21 +++- .../libgnomekbd/libgnomekbd-devel.template | 15 --- srcpkgs/libgnomekbd/template | 25 +++- srcpkgs/libgphoto2/libgphoto2-devel.template | 13 -- srcpkgs/libgphoto2/template | 24 +++- srcpkgs/libgsf/libgsf-devel.template | 12 -- srcpkgs/libgsf/template | 24 +++- srcpkgs/libgsm/libgsm-devel.template | 19 --- srcpkgs/libgsm/template | 31 ++++- srcpkgs/libgssglue/libgssglue-devel.template | 10 -- srcpkgs/libgssglue/template | 20 ++- srcpkgs/libgtop/libgtop-devel.template | 17 --- srcpkgs/libgtop/template | 25 +++- srcpkgs/libguess/libguess-devel.template | 13 -- srcpkgs/libguess/template | 22 +++- srcpkgs/libgusb/libgusb-devel.template | 10 -- srcpkgs/libgusb/template | 17 ++- .../libgweather/libgweather-devel.template | 12 -- srcpkgs/libgweather/template | 24 +++- srcpkgs/libgxps/libgxps-devel.template | 11 -- srcpkgs/libgxps/template | 25 +++- srcpkgs/libhubbub/libhubbub-devel.template | 14 --- srcpkgs/libhubbub/template | 32 +++-- srcpkgs/libical/libical-devel.template | 16 --- srcpkgs/libical/template | 30 +++-- srcpkgs/libid3tag/libid3tag-devel.template | 17 --- srcpkgs/libid3tag/template | 31 +++-- .../libieee1284/libieee1284-devel.template | 15 --- srcpkgs/libieee1284/template | 25 +++- .../libiptcdata/libiptcdata-devel.template | 14 --- srcpkgs/libiptcdata/template | 24 +++- srcpkgs/libisofs/libisofs-devel.template | 10 -- srcpkgs/libisofs/template | 18 ++- srcpkgs/libldap/libldap-devel.template | 13 -- srcpkgs/libldap/template | 25 +++- srcpkgs/liblo/liblo-devel.template | 14 --- srcpkgs/liblo/template | 21 +++- srcpkgs/liblrdf/liblrdf-devel.template | 15 --- srcpkgs/liblrdf/template | 30 +++-- srcpkgs/libmad/libmad-devel.template | 10 -- srcpkgs/libmad/template | 21 +++- .../libmatroska/libmatroska-devel.template | 15 --- srcpkgs/libmatroska/template | 24 +++- srcpkgs/libmikmod/libmikmod-devel.template | 14 --- srcpkgs/libmikmod/template | 19 ++- srcpkgs/libmms/libmms-devel.template | 17 --- srcpkgs/libmms/template | 37 ++++-- srcpkgs/libmng/libmng-devel.template | 13 -- srcpkgs/libmng/template | 21 +++- srcpkgs/libmodplug/libmodplug-devel.template | 10 -- srcpkgs/libmodplug/template | 17 ++- srcpkgs/libmowgli/libmowgli-devel.template | 13 -- srcpkgs/libmowgli/template | 21 +++- srcpkgs/libmp4v2/libmp4v2-devel.template | 9 -- srcpkgs/libmp4v2/mpeg4ip.template | 8 -- srcpkgs/libmp4v2/template | 25 +++- srcpkgs/libmpcdec/libmpcdec-devel.template | 10 -- srcpkgs/libmpcdec/template | 15 +++ srcpkgs/libmpeg2/libmpeg2-devel.template | 17 --- srcpkgs/libmpeg2/mpeg2dec.template | 14 --- srcpkgs/libmpeg2/template | 32 ++++- srcpkgs/libmtp/libmtp-devel.template | 13 -- srcpkgs/libmtp/template | 21 +++- .../libmusicbrainz-devel.template | 14 --- srcpkgs/libmusicbrainz/template | 23 +++- .../libmusicbrainz5-devel.template | 13 -- srcpkgs/libmusicbrainz5/template | 21 +++- srcpkgs/libnfs/libnfs-devel.template | 10 -- srcpkgs/libnfs/template | 20 ++- .../libnfsidmap/libnfsidmap-devel.template | 14 --- srcpkgs/libnfsidmap/template | 18 ++- srcpkgs/libnice/libnice-devel.template | 14 --- srcpkgs/libnice/template | 20 ++- srcpkgs/libnl/libnl-devel.template | 16 --- srcpkgs/libnl/template | 19 ++- srcpkgs/libnl3/libnl3-devel.template | 10 -- srcpkgs/libnl3/libnl3-progs.template | 9 -- srcpkgs/libnl3/template | 32 ++++- srcpkgs/libnotify/libnotify-devel.template | 16 --- srcpkgs/libnotify/template | 22 +++- srcpkgs/libnsbmp/libnsbmp-devel.template | 14 --- srcpkgs/libnsbmp/template | 24 +++- srcpkgs/libnsgif/libnsgif-devel.template | 14 --- srcpkgs/libnsgif/template | 26 +++- srcpkgs/liboauth/liboauth-devel.template | 17 --- srcpkgs/liboauth/template | 21 +++- srcpkgs/liboil/liboil-devel.template | 19 --- srcpkgs/liboil/template | 25 +++- srcpkgs/libopenal/libopenal-devel.template | 13 -- srcpkgs/libopenal/template | 25 +++- srcpkgs/libosinfo/libosinfo-devel.template | 16 --- srcpkgs/libosinfo/template | 25 +++- .../libparserutils-devel.template | 15 --- srcpkgs/libparserutils/template | 27 ++-- srcpkgs/libpcap/libpcap-devel.template | 14 --- srcpkgs/libpcap/template | 26 +++- srcpkgs/libpeas/libpeas-devel.template | 12 -- srcpkgs/libpeas/template | 23 +++- .../libpipeline/libpipeline-devel.template | 11 -- srcpkgs/libpipeline/template | 19 ++- srcpkgs/libplist/libplist++.template | 7 -- srcpkgs/libplist/libplist-devel.template | 10 -- srcpkgs/libplist/libplist-python.template | 7 -- srcpkgs/libplist/template | 35 +++++- srcpkgs/libproxy/libproxy-devel.template | 16 --- srcpkgs/libproxy/libproxy-python.template | 12 -- srcpkgs/libproxy/template | 29 ++++- .../libpwquality/libpwquality-devel.template | 10 -- srcpkgs/libpwquality/template | 23 +++- srcpkgs/libquvi-scripts/template | 13 +- srcpkgs/libquvi/libquvi-devel.template | 17 --- srcpkgs/libquvi/template | 31 +++-- srcpkgs/libraw/libraw-devel.template | 13 -- srcpkgs/libraw/libraw-progs.template | 10 -- srcpkgs/libraw/template | 29 ++++- srcpkgs/libreoffice-bin/template | 10 +- srcpkgs/librlog/librlog-devel.template | 10 -- srcpkgs/librlog/template | 18 ++- .../librpcsecgss/librpcsecgss-devel.template | 14 --- srcpkgs/librpcsecgss/template | 24 +++- srcpkgs/librsvg/librsvg-devel.template | 12 -- srcpkgs/librsvg/template | 25 +++- .../libsamplerate-devel.template | 12 -- srcpkgs/libsamplerate/template | 18 ++- srcpkgs/libsasl/libsasl-devel.template | 8 -- srcpkgs/libsasl/template | 15 ++- srcpkgs/libseccomp/libseccomp-devel.template | 14 --- srcpkgs/libseccomp/template | 21 +++- srcpkgs/libsecret/libsecret-devel.template | 12 -- srcpkgs/libsecret/template | 21 +++- srcpkgs/libsexy/libsexy-devel.template | 15 --- srcpkgs/libsexy/template | 22 +++- srcpkgs/libsigc++/libsigc++-devel.template | 11 -- srcpkgs/libsigc++/template | 18 ++- srcpkgs/libsmbios/libsmbios-devel.template | 16 --- srcpkgs/libsmbios/libsmbios-utils.template | 14 --- srcpkgs/libsmbios/template | 36 ++++-- srcpkgs/libsndfile/libsndfile-devel.template | 11 -- srcpkgs/libsndfile/libsndfile-progs.template | 12 -- srcpkgs/libsndfile/template | 28 ++++- .../libsocialweb/libsocialweb-devel.template | 17 --- srcpkgs/libsocialweb/template | 25 +++- srcpkgs/libsoup/libsoup-devel.template | 10 -- srcpkgs/libsoup/libsoup-gnome-devel.template | 10 -- srcpkgs/libsoup/libsoup-gnome.template | 8 -- srcpkgs/libsoup/template | 38 +++++- srcpkgs/libspectre/libspectre-devel.template | 13 -- srcpkgs/libspectre/template | 18 ++- srcpkgs/libssh2/libssh2-devel.template | 14 --- srcpkgs/libssh2/template | 19 ++- .../libstatgrab/libstatgrab-devel.template | 14 --- srcpkgs/libstatgrab/template | 19 ++- srcpkgs/libtaginfo/libtaginfo-devel.template | 12 -- srcpkgs/libtaginfo/template | 23 +++- srcpkgs/libtar/libtar-devel.template | 14 --- srcpkgs/libtar/template | 20 ++- srcpkgs/libtasn1/libtasn1-devel.template | 15 --- srcpkgs/libtasn1/libtasn1-tools.template | 11 -- srcpkgs/libtasn1/template | 28 ++++- srcpkgs/libtheora/libtheora-devel.template | 12 -- srcpkgs/libtheora/template | 18 ++- srcpkgs/libtirpc/libtirpc-devel.template | 11 -- srcpkgs/libtirpc/template | 21 +++- .../libtomcrypt/libtomcrypt-devel.template | 15 --- srcpkgs/libtomcrypt/template | 22 +++- srcpkgs/libtorrent/libtorrent-devel.template | 10 -- srcpkgs/libtorrent/template | 16 +++ srcpkgs/libunique/libunique-devel.template | 17 --- srcpkgs/libunique/template | 22 +++- srcpkgs/libunique1/libunique1-devel.template | 14 --- srcpkgs/libunique1/template | 22 +++- .../libusb-compat-devel.template | 15 --- srcpkgs/libusb-compat/template | 26 +++- .../libutempter/libutempter-devel.template | 13 -- srcpkgs/libutempter/template | 19 ++- srcpkgs/libva-intel-driver/template | 12 +- srcpkgs/libva/libva-devel.template | 13 -- srcpkgs/libva/template | 21 +++- .../libvirt-glib/libvirt-glib-devel.template | 18 --- .../libvirt-glib/libvirt-glib-python.template | 12 -- srcpkgs/libvirt-glib/template | 33 ++++- srcpkgs/libvirt/libvirt-devel.template | 12 -- srcpkgs/libvirt/libvirt-python.template | 10 -- srcpkgs/libvirt/template | 115 +++++++++++------- srcpkgs/libvisual/libvisual-devel.template | 14 --- srcpkgs/libvisual/template | 20 ++- srcpkgs/libvpx/libvpx-devel.template | 10 -- srcpkgs/libvpx/template | 17 ++- srcpkgs/libwacom/libwacom-devel.template | 10 -- srcpkgs/libwacom/template | 19 ++- .../libwapcaplet/libwapcaplet-devel.template | 14 --- srcpkgs/libwapcaplet/template | 25 +++- srcpkgs/libwebp/libwebp-devel.template | 10 -- srcpkgs/libwebp/template | 20 ++- srcpkgs/libwmf/libwmf-devel.template | 11 -- srcpkgs/libwmf/template | 28 ++++- srcpkgs/libwnck/libwnck-devel.template | 11 -- srcpkgs/libwnck/template | 18 ++- srcpkgs/libwnck2/libwnck2-devel.template | 18 --- srcpkgs/libwnck2/template | 28 ++++- srcpkgs/libx86/libx86-devel.template | 16 --- srcpkgs/libx86/template | 19 ++- .../libxdg-basedir-devel.template | 15 --- srcpkgs/libxdg-basedir/template | 21 +++- srcpkgs/libxfce4ui/libxfce4ui-devel.template | 16 --- srcpkgs/libxfce4ui/template | 28 ++++- .../libxfce4util/libxfce4util-devel.template | 16 --- srcpkgs/libxfce4util/template | 24 +++- .../libxfcegui4/libxfcegui4-devel.template | 14 --- srcpkgs/libxfcegui4/template | 29 +++-- .../libxkbcommon/libxkbcommon-devel.template | 13 -- srcpkgs/libxkbcommon/template | 24 +++- srcpkgs/libxkbfile/libxkbfile-devel.template | 10 -- srcpkgs/libxkbfile/template | 17 ++- srcpkgs/libxkbui/libxkbui-devel.template | 11 -- srcpkgs/libxkbui/template | 17 ++- .../libxklavier/libxklavier-devel.template | 15 --- srcpkgs/libxklavier/template | 24 +++- srcpkgs/libxml++/libxml++-devel.template | 14 --- srcpkgs/libxml++/template | 22 +++- srcpkgs/libyaml/libyaml-devel.template | 14 --- srcpkgs/libyaml/template | 24 +++- srcpkgs/libzapojit/libzapojit-devel.template | 12 -- srcpkgs/libzapojit/template | 21 +++- .../libzeitgeist/libzeitgeist-devel.template | 15 --- srcpkgs/libzeitgeist/template | 23 +++- srcpkgs/libzip/libzip-devel.template | 10 -- srcpkgs/libzip/template | 19 ++- srcpkgs/lightdm-gtk-greeter/template | 8 ++ srcpkgs/lightdm/liblightdm-gobject.template | 11 -- srcpkgs/lightdm/liblightdm-qt.template | 10 -- srcpkgs/lightdm/lightdm-devel.template | 18 --- srcpkgs/lightdm/template | 65 +++++++--- srcpkgs/lightspark/template | 10 +- srcpkgs/lilv/liblilv.template | 13 -- srcpkgs/lilv/lilv-bash-completion.template | 13 -- srcpkgs/lilv/lilv-devel.template | 14 --- srcpkgs/lilv/template | 38 +++++- .../linux-firmware-network.template | 26 ---- srcpkgs/linux-firmware/template | 42 +++++-- srcpkgs/linux-user-chroot/template | 8 +- srcpkgs/lm-sensors/libsensors-devel.template | 14 --- srcpkgs/lm-sensors/libsensors.template | 10 -- srcpkgs/lm-sensors/template | 34 ++++-- srcpkgs/lockdev/lockdev-devel.template | 10 -- srcpkgs/lockdev/template | 17 ++- srcpkgs/logrotate/template | 20 +-- srcpkgs/lrzsz/template | 6 + srcpkgs/lsof/template | 8 +- srcpkgs/ltrace/template | 9 +- srcpkgs/ltris/template | 13 +- srcpkgs/luafilesystem/template | 20 +-- srcpkgs/luaposix/template | 19 +-- srcpkgs/luasocket/template | 15 ++- srcpkgs/lutok/lutok-devel.template | 14 --- srcpkgs/lutok/template | 20 ++- srcpkgs/lv2/template | 18 +-- srcpkgs/lvm2/device-mapper-devel.template | 10 -- srcpkgs/lvm2/device-mapper.template | 20 --- srcpkgs/lvm2/liblvm2app-devel.template | 11 -- srcpkgs/lvm2/liblvm2app.template | 7 -- srcpkgs/lvm2/template | 71 +++++++++-- srcpkgs/lxappearance/template | 16 ++- srcpkgs/lxc/liblxc.template | 11 -- srcpkgs/lxc/lxc-devel.template | 13 -- srcpkgs/lxc/template | 25 +++- srcpkgs/lxde-common/template | 22 ++-- srcpkgs/lxde-icon-theme/template | 18 +-- srcpkgs/lxde/template | 9 +- srcpkgs/lxdm/template | 41 ++++--- srcpkgs/lxinput/template | 11 +- srcpkgs/lxlauncher/template | 23 ++-- srcpkgs/lxmenu-data/template | 13 +- srcpkgs/lxpanel/lxpanel-devel.template | 15 --- srcpkgs/lxpanel/template | 24 +++- srcpkgs/lxpolkit/template | 14 ++- srcpkgs/lxrandr/template | 15 ++- srcpkgs/lxsession/template | 15 ++- srcpkgs/lxtask/template | 17 ++- srcpkgs/lxterminal/template | 14 ++- srcpkgs/lzo/lzo-devel.template | 16 --- srcpkgs/lzo/template | 19 ++- 445 files changed, 4246 insertions(+), 3762 deletions(-) delete mode 100644 srcpkgs/ladish/ladish-devel.template delete mode 100644 srcpkgs/ladspa-sdk/ladspa-sdk-docs.template delete mode 100644 srcpkgs/ladspa-sdk/ladspa-sdk-example-plugins.template delete mode 100644 srcpkgs/ladspa-sdk/ladspa-sdk-progs.template delete mode 100644 srcpkgs/lame/lame-devel.template delete mode 100644 srcpkgs/leveldb/leveldb-devel.template delete mode 100644 srcpkgs/libHX/libHX-devel.template delete mode 100644 srcpkgs/libICE/libICE-devel.template delete mode 100644 srcpkgs/libIDL/libIDL-devel.template delete mode 100644 srcpkgs/libSM/libSM-devel.template delete mode 100644 srcpkgs/libXScrnSaver/libXScrnSaver-devel.template delete mode 100644 srcpkgs/libXaw/libXaw-devel.template delete mode 100644 srcpkgs/libXevie/libXevie-devel.template delete mode 100644 srcpkgs/libXfont/libXfont-devel.template delete mode 100644 srcpkgs/libXfontcache/libXfontcache-devel.template delete mode 100644 srcpkgs/libXmu/libXmu-devel.template delete mode 100644 srcpkgs/libXp/libXp-devel.template delete mode 100644 srcpkgs/libXpm/libXpm-devel.template delete mode 100644 srcpkgs/libXres/libXres-devel.template delete mode 100644 srcpkgs/libXt/libXt-devel.template delete mode 100644 srcpkgs/libXtst/libXtst-devel.template delete mode 100644 srcpkgs/libXxf86dga/libXxf86dga-devel.template delete mode 100644 srcpkgs/libXxf86misc/libXxf86misc-devel.template delete mode 100644 srcpkgs/libao/libao-devel.template delete mode 100644 srcpkgs/libapp/libapp-devel.template delete mode 100644 srcpkgs/libart/libart-devel.template delete mode 100644 srcpkgs/libass/libass-devel.template delete mode 100644 srcpkgs/libassuan/libassuan-devel.template delete mode 100644 srcpkgs/libasyncns/libasyncns-devel.template delete mode 100644 srcpkgs/libatasmart/libatasmart-devel.template delete mode 100644 srcpkgs/libbluray/libbluray-devel.template delete mode 100644 srcpkgs/libbsd/libbsd-devel.template delete mode 100644 srcpkgs/libburn/cdrskin.template delete mode 100644 srcpkgs/libburn/libburn-devel.template delete mode 100644 srcpkgs/libcaca/libcaca-devel.template delete mode 100644 srcpkgs/libcanberra/libcanberra-devel.template delete mode 100644 srcpkgs/libcap-ng/libcap-ng-devel.template delete mode 100644 srcpkgs/libcap-ng/libcap-ng-progs.template delete mode 100644 srcpkgs/libcap-ng/libcap-ng-python.template delete mode 100644 srcpkgs/libcddb/libcddb-devel.template delete mode 100644 srcpkgs/libcdio/libcdio-devel.template delete mode 100644 srcpkgs/libcec/cec-client.template delete mode 100644 srcpkgs/libcec/libcec-devel.template delete mode 100644 srcpkgs/libcgroup/libcgroup-devel.template delete mode 100644 srcpkgs/libchamplain/libchamplain-devel.template delete mode 100644 srcpkgs/libconfig/libconfig++-devel.template delete mode 100644 srcpkgs/libconfig/libconfig++.template delete mode 100644 srcpkgs/libconfig/libconfig-devel.template delete mode 100644 srcpkgs/libcprops/libcprops-devel.template delete mode 100644 srcpkgs/libcroco/libcroco-devel.template delete mode 100644 srcpkgs/libcryptui/libcryptui-devel.template delete mode 100644 srcpkgs/libcss/libcss-devel.template delete mode 100644 srcpkgs/libdca/libdca-devel.template delete mode 100644 srcpkgs/libdiscid/libdiscid-devel.template delete mode 100644 srcpkgs/libdmapsharing/libdmapsharing-devel.template delete mode 100644 srcpkgs/libdmx/libdmx-devel.template delete mode 100644 srcpkgs/libdom/libdom-devel.template delete mode 100644 srcpkgs/libdvbpsi/libdvbpsi-devel.template delete mode 100644 srcpkgs/libdvdcss/libdvdcss-devel.template delete mode 100644 srcpkgs/libdvdnav/libdvdnav-devel.template delete mode 100644 srcpkgs/libdvdread/libdvdread-devel.template delete mode 100644 srcpkgs/libebml/libebml-devel.template delete mode 100644 srcpkgs/libee/libee-devel.template delete mode 100644 srcpkgs/libepc/libepc-devel.template delete mode 100644 srcpkgs/libesmtp/libesmtp-devel.template delete mode 100644 srcpkgs/libestr/libestr-devel.template delete mode 100644 srcpkgs/libev/libev-devel.template delete mode 100644 srcpkgs/libevent/libevent-devel.template delete mode 100644 srcpkgs/libewf/libewf-devel.template delete mode 100644 srcpkgs/libexif/libexif-devel.template delete mode 100644 srcpkgs/libfetch/libfetch-devel.template delete mode 100644 srcpkgs/libfm/libfm-devel.template delete mode 100644 srcpkgs/libfontenc/libfontenc-devel.template delete mode 100644 srcpkgs/libgdata/libgdata-devel.template delete mode 100644 srcpkgs/libgee/libgee-devel.template delete mode 100644 srcpkgs/libgee08/libgee08-devel.template delete mode 100644 srcpkgs/libgexiv2/libgexiv2-devel.template delete mode 100644 srcpkgs/libglade/libglade-devel.template delete mode 100644 srcpkgs/libglademm/libglademm-devel.template delete mode 100644 srcpkgs/libgnome-keyring/libgnome-keyring-devel.template delete mode 100644 srcpkgs/libgnomecanvas/libgnomecanvas-devel.template delete mode 100644 srcpkgs/libgnomecanvasmm/libgnomecanvasmm-devel.template delete mode 100644 srcpkgs/libgnomekbd/libgnomekbd-devel.template delete mode 100644 srcpkgs/libgphoto2/libgphoto2-devel.template delete mode 100644 srcpkgs/libgsf/libgsf-devel.template delete mode 100644 srcpkgs/libgsm/libgsm-devel.template delete mode 100644 srcpkgs/libgssglue/libgssglue-devel.template delete mode 100644 srcpkgs/libgtop/libgtop-devel.template delete mode 100644 srcpkgs/libguess/libguess-devel.template delete mode 100644 srcpkgs/libgusb/libgusb-devel.template delete mode 100644 srcpkgs/libgweather/libgweather-devel.template delete mode 100644 srcpkgs/libgxps/libgxps-devel.template delete mode 100644 srcpkgs/libhubbub/libhubbub-devel.template delete mode 100644 srcpkgs/libical/libical-devel.template delete mode 100644 srcpkgs/libid3tag/libid3tag-devel.template delete mode 100644 srcpkgs/libieee1284/libieee1284-devel.template delete mode 100644 srcpkgs/libiptcdata/libiptcdata-devel.template delete mode 100644 srcpkgs/libisofs/libisofs-devel.template delete mode 100644 srcpkgs/libldap/libldap-devel.template delete mode 100644 srcpkgs/liblo/liblo-devel.template delete mode 100644 srcpkgs/liblrdf/liblrdf-devel.template delete mode 100644 srcpkgs/libmad/libmad-devel.template delete mode 100644 srcpkgs/libmatroska/libmatroska-devel.template delete mode 100644 srcpkgs/libmikmod/libmikmod-devel.template delete mode 100644 srcpkgs/libmms/libmms-devel.template delete mode 100644 srcpkgs/libmng/libmng-devel.template delete mode 100644 srcpkgs/libmodplug/libmodplug-devel.template delete mode 100644 srcpkgs/libmowgli/libmowgli-devel.template delete mode 100644 srcpkgs/libmp4v2/libmp4v2-devel.template delete mode 100644 srcpkgs/libmp4v2/mpeg4ip.template delete mode 100644 srcpkgs/libmpcdec/libmpcdec-devel.template delete mode 100644 srcpkgs/libmpeg2/libmpeg2-devel.template delete mode 100644 srcpkgs/libmpeg2/mpeg2dec.template delete mode 100644 srcpkgs/libmtp/libmtp-devel.template delete mode 100644 srcpkgs/libmusicbrainz/libmusicbrainz-devel.template delete mode 100644 srcpkgs/libmusicbrainz5/libmusicbrainz5-devel.template delete mode 100644 srcpkgs/libnfs/libnfs-devel.template delete mode 100644 srcpkgs/libnfsidmap/libnfsidmap-devel.template delete mode 100644 srcpkgs/libnice/libnice-devel.template delete mode 100644 srcpkgs/libnl/libnl-devel.template delete mode 100644 srcpkgs/libnl3/libnl3-devel.template delete mode 100644 srcpkgs/libnl3/libnl3-progs.template delete mode 100644 srcpkgs/libnotify/libnotify-devel.template delete mode 100644 srcpkgs/libnsbmp/libnsbmp-devel.template delete mode 100644 srcpkgs/libnsgif/libnsgif-devel.template delete mode 100644 srcpkgs/liboauth/liboauth-devel.template delete mode 100644 srcpkgs/liboil/liboil-devel.template delete mode 100644 srcpkgs/libopenal/libopenal-devel.template delete mode 100644 srcpkgs/libosinfo/libosinfo-devel.template delete mode 100644 srcpkgs/libparserutils/libparserutils-devel.template delete mode 100644 srcpkgs/libpcap/libpcap-devel.template delete mode 100644 srcpkgs/libpeas/libpeas-devel.template delete mode 100644 srcpkgs/libpipeline/libpipeline-devel.template delete mode 100644 srcpkgs/libplist/libplist++.template delete mode 100644 srcpkgs/libplist/libplist-devel.template delete mode 100644 srcpkgs/libplist/libplist-python.template delete mode 100644 srcpkgs/libproxy/libproxy-devel.template delete mode 100644 srcpkgs/libproxy/libproxy-python.template delete mode 100644 srcpkgs/libpwquality/libpwquality-devel.template delete mode 100644 srcpkgs/libquvi/libquvi-devel.template delete mode 100644 srcpkgs/libraw/libraw-devel.template delete mode 100644 srcpkgs/libraw/libraw-progs.template delete mode 100644 srcpkgs/librlog/librlog-devel.template delete mode 100644 srcpkgs/librpcsecgss/librpcsecgss-devel.template delete mode 100644 srcpkgs/librsvg/librsvg-devel.template delete mode 100644 srcpkgs/libsamplerate/libsamplerate-devel.template delete mode 100644 srcpkgs/libsasl/libsasl-devel.template delete mode 100644 srcpkgs/libseccomp/libseccomp-devel.template delete mode 100644 srcpkgs/libsecret/libsecret-devel.template delete mode 100644 srcpkgs/libsexy/libsexy-devel.template delete mode 100644 srcpkgs/libsigc++/libsigc++-devel.template delete mode 100644 srcpkgs/libsmbios/libsmbios-devel.template delete mode 100644 srcpkgs/libsmbios/libsmbios-utils.template delete mode 100644 srcpkgs/libsndfile/libsndfile-devel.template delete mode 100644 srcpkgs/libsndfile/libsndfile-progs.template delete mode 100644 srcpkgs/libsocialweb/libsocialweb-devel.template delete mode 100644 srcpkgs/libsoup/libsoup-devel.template delete mode 100644 srcpkgs/libsoup/libsoup-gnome-devel.template delete mode 100644 srcpkgs/libsoup/libsoup-gnome.template delete mode 100644 srcpkgs/libspectre/libspectre-devel.template delete mode 100644 srcpkgs/libssh2/libssh2-devel.template delete mode 100644 srcpkgs/libstatgrab/libstatgrab-devel.template delete mode 100644 srcpkgs/libtaginfo/libtaginfo-devel.template delete mode 100644 srcpkgs/libtar/libtar-devel.template delete mode 100644 srcpkgs/libtasn1/libtasn1-devel.template delete mode 100644 srcpkgs/libtasn1/libtasn1-tools.template delete mode 100644 srcpkgs/libtheora/libtheora-devel.template delete mode 100644 srcpkgs/libtirpc/libtirpc-devel.template delete mode 100644 srcpkgs/libtomcrypt/libtomcrypt-devel.template delete mode 100644 srcpkgs/libtorrent/libtorrent-devel.template delete mode 100644 srcpkgs/libunique/libunique-devel.template delete mode 100644 srcpkgs/libunique1/libunique1-devel.template delete mode 100644 srcpkgs/libusb-compat/libusb-compat-devel.template delete mode 100644 srcpkgs/libutempter/libutempter-devel.template delete mode 100644 srcpkgs/libva/libva-devel.template delete mode 100644 srcpkgs/libvirt-glib/libvirt-glib-devel.template delete mode 100644 srcpkgs/libvirt-glib/libvirt-glib-python.template delete mode 100644 srcpkgs/libvirt/libvirt-devel.template delete mode 100644 srcpkgs/libvirt/libvirt-python.template delete mode 100644 srcpkgs/libvisual/libvisual-devel.template delete mode 100644 srcpkgs/libvpx/libvpx-devel.template delete mode 100644 srcpkgs/libwacom/libwacom-devel.template delete mode 100644 srcpkgs/libwapcaplet/libwapcaplet-devel.template delete mode 100644 srcpkgs/libwebp/libwebp-devel.template delete mode 100644 srcpkgs/libwmf/libwmf-devel.template delete mode 100644 srcpkgs/libwnck/libwnck-devel.template delete mode 100644 srcpkgs/libwnck2/libwnck2-devel.template delete mode 100644 srcpkgs/libx86/libx86-devel.template delete mode 100644 srcpkgs/libxdg-basedir/libxdg-basedir-devel.template delete mode 100644 srcpkgs/libxfce4ui/libxfce4ui-devel.template delete mode 100644 srcpkgs/libxfce4util/libxfce4util-devel.template delete mode 100644 srcpkgs/libxfcegui4/libxfcegui4-devel.template delete mode 100644 srcpkgs/libxkbcommon/libxkbcommon-devel.template delete mode 100644 srcpkgs/libxkbfile/libxkbfile-devel.template delete mode 100644 srcpkgs/libxkbui/libxkbui-devel.template delete mode 100644 srcpkgs/libxklavier/libxklavier-devel.template delete mode 100644 srcpkgs/libxml++/libxml++-devel.template delete mode 100644 srcpkgs/libyaml/libyaml-devel.template delete mode 100644 srcpkgs/libzapojit/libzapojit-devel.template delete mode 100644 srcpkgs/libzeitgeist/libzeitgeist-devel.template delete mode 100644 srcpkgs/libzip/libzip-devel.template delete mode 100644 srcpkgs/lightdm/liblightdm-gobject.template delete mode 100644 srcpkgs/lightdm/liblightdm-qt.template delete mode 100644 srcpkgs/lightdm/lightdm-devel.template delete mode 100644 srcpkgs/lilv/liblilv.template delete mode 100644 srcpkgs/lilv/lilv-bash-completion.template delete mode 100644 srcpkgs/lilv/lilv-devel.template delete mode 100644 srcpkgs/linux-firmware/linux-firmware-network.template delete mode 100644 srcpkgs/lm-sensors/libsensors-devel.template delete mode 100644 srcpkgs/lm-sensors/libsensors.template delete mode 100644 srcpkgs/lockdev/lockdev-devel.template delete mode 100644 srcpkgs/lutok/lutok-devel.template delete mode 100644 srcpkgs/lvm2/device-mapper-devel.template delete mode 100644 srcpkgs/lvm2/device-mapper.template delete mode 100644 srcpkgs/lvm2/liblvm2app-devel.template delete mode 100644 srcpkgs/lvm2/liblvm2app.template delete mode 100644 srcpkgs/lxc/liblxc.template delete mode 100644 srcpkgs/lxc/lxc-devel.template delete mode 100644 srcpkgs/lxpanel/lxpanel-devel.template delete mode 100644 srcpkgs/lzo/lzo-devel.template diff --git a/srcpkgs/ladish/ladish-devel.template b/srcpkgs/ladish/ladish-devel.template deleted file mode 100644 index 95e6c2c864..0000000000 --- a/srcpkgs/ladish/ladish-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'ladish-devel'. -# -noarch=yes -depends="libuuid-devel ladish>=${version}" -short_desc="${short_desc} (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/ladish/template b/srcpkgs/ladish/template index dbbb279add..3343323e44 100644 --- a/srcpkgs/ladish/template +++ b/srcpkgs/ladish/template @@ -1,15 +1,13 @@ # Template file for 'ladish' pkgname=ladish version=1 -revision=3 +revision=4 build_style=waf configure_args="--enable-liblash --enable-pylash" -depends="jack a2jmidid" makedepends="perl intltool python-devel pkg-config alsa-lib-devel jack-devel -dbus-devel dbus-glib-devel libuuid-devel expat-devel glib-devel gtk+-devel -flowcanvas-devel boost-devel libgnomecanvasmm-devel gtkmm2-devel" -fulldepends="hicolor-icon-theme" -short_desc="Session management system for JACK applications." + dbus-devel dbus-glib-devel libuuid-devel expat-devel glib-devel gtk+-devel + flowcanvas-devel boost-devel libgnomecanvasmm-devel gtkmm2-devel" +short_desc="Session management system for JACK applications" maintainer="davehome " license="GPL-2" homepage="http://ladish.org" @@ -26,6 +24,19 @@ long_desc=" together. It can also be used to move entire sessions between computers, or post sessions on the Internet for download." -subpackages="${pkgname}-devel" +ladish-devel_package() { + depends="libuuid-devel ladish>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} -pycompile_module="lash.py" +ladish_package() { + pycompile_module="lash.py" + depends="jack a2jmidid hicolor-icon-theme" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/laditools/template b/srcpkgs/laditools/template index b675ad0c22..df7a668d9b 100644 --- a/srcpkgs/laditools/template +++ b/srcpkgs/laditools/template @@ -2,14 +2,14 @@ pkgname=laditools version=1.0.rc2 revision=2 +wrksrc="ladish-1/${pkgname}" homepage="http://www.marcochapeau.org/software/laditools" license="GPL-3" -distfiles="http://ladish.org/download/ladish-1-with-deps.tar.bz2" build_style=python-module -fulldepends="python" -depends="ladish jack pygtk pyyaml vte" +makepends="python" short_desc="Linux Audio Desktop Integration Tools" maintainer="davehome " +distfiles="http://ladish.org/download/ladish-1-with-deps.tar.bz2" checksum=b31b9ca69c42e4e68b5159993a1f505e137d43737430778444bc5e852adeb461 long_desc=" LADITools is a set of tools aiming to achieve the goals of the LADI project to @@ -18,5 +18,10 @@ long_desc=" to JACK and LASH to ease the configuration and use of those two great softwares." -wrksrc=ladish-1/${pkgname} -pycompile_module=laditools +laditools_package() { + pycompile_module="laditools" + depends="ladish jack pygtk pyyaml vte" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/ladspa-sdk/ladspa-sdk-docs.template b/srcpkgs/ladspa-sdk/ladspa-sdk-docs.template deleted file mode 100644 index 3cc085902f..0000000000 --- a/srcpkgs/ladspa-sdk/ladspa-sdk-docs.template +++ /dev/null @@ -1,20 +0,0 @@ -# Template file for 'ladspa-sdk-docs'. -# -depends="ladspa-sdk" -short_desc="${short_desc} (Documentation)" -long_desc="${long_desc} - - This package contains the HTML documentation - to be installed in /usr/share/doc/ladspa." - - -noarch=yes - - -do_install() -{ - vmkdir usr/share/doc - cd ${wrksrc}/doc && rm ladspa.h.txt && \ - ln -s /usr/include/ladspa.h ladspa.h.txt - vcopy ${wrksrc}/doc usr/share/doc/ladspa -} diff --git a/srcpkgs/ladspa-sdk/ladspa-sdk-example-plugins.template b/srcpkgs/ladspa-sdk/ladspa-sdk-example-plugins.template deleted file mode 100644 index 9991ce2f6b..0000000000 --- a/srcpkgs/ladspa-sdk/ladspa-sdk-example-plugins.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'ladspa-sdk-example-plugins'. -# -short_desc="${short_desc} (Example plugins)" -long_desc="${long_desc} - - This package contains the example plugins." - -do_install() -{ - vmkdir usr/lib/ladspa - vcopy "${wrksrc}/plugins/*.so*" usr/lib/ladspa -} diff --git a/srcpkgs/ladspa-sdk/ladspa-sdk-progs.template b/srcpkgs/ladspa-sdk/ladspa-sdk-progs.template deleted file mode 100644 index 92e0e26b3c..0000000000 --- a/srcpkgs/ladspa-sdk/ladspa-sdk-progs.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'ladspa-sdk-progs'. -# -short_desc="${short_desc} (Example programs)" -long_desc="${long_desc} - - This package contains the example programs." - -do_install() -{ - vmkdir usr - vcopy ${wrksrc}/bin usr -} diff --git a/srcpkgs/ladspa-sdk/template b/srcpkgs/ladspa-sdk/template index 46b46e5973..22f0509abb 100644 --- a/srcpkgs/ladspa-sdk/template +++ b/srcpkgs/ladspa-sdk/template @@ -2,8 +2,9 @@ pkgname=ladspa-sdk version=1.13 revision=2 +wrksrc=ladspa_sdk distfiles="http://www.ladspa.org/download/ladspa_sdk.tgz" -makedepends="libsndfile-progs libstdc++" +makedepends="libsndfile-progs" short_desc="Linux Audio Developer's Simple Plugin API (LADSPA)" maintainer="davehome " homepage="http://www.ladspa.org/" @@ -19,20 +20,47 @@ long_desc=" Definitive technical documentation on LADSPA plugins for both host and plugin writers is contained within copious comments in the ladspa.h header file." -subpackages="$pkgname-docs $pkgname-example-plugins $pkgname-progs" - -noarch=yes - -wrksrc=ladspa_sdk - - -do_build() -{ +do_build() { make -C src } -do_install() -{ +do_install() { vmkdir usr/include vcopy src/ladspa.h usr/include } + +ladspa-sdk-docs_package() { + depends="ladspa-sdk" + short_desc="${short_desc} (Documentation)" + noarch=yes + pkg_install() { + vmkdir usr/share/doc + cd ${wrksrc}/doc + rm ladspa.h.txt + ln -s /usr/include/ladspa.h ladspa.h.txt + vcopy ${wrksrc}/doc usr/share/doc/ladspa + } +} + +ladspa-sdk-example-plugins_package() { + short_desc="${short_desc} (Example plugins)" + pkg_install() { + vmkdir usr/lib/ladspa + vcopy "${wrksrc}/plugins/*.so*" usr/lib/ladspa + } +} + +ladspa-sdk-progs_package() { + short_desc="${short_desc} (Example programs)" + pkg_install() { + vmkdir usr + vcopy ${wrksrc}/bin usr + } +} + +ladspa-sdk_package() { + noarch=yes + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lame/lame-devel.template b/srcpkgs/lame/lame-devel.template deleted file mode 100644 index b4dac5d3ea..0000000000 --- a/srcpkgs/lame/lame-devel.template +++ /dev/null @@ -1,9 +0,0 @@ -# Template file for 'lame-devel'. -# -depends="lame>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/lame/template b/srcpkgs/lame/template index 32cd95adb7..b82f24a38f 100644 --- a/srcpkgs/lame/template +++ b/srcpkgs/lame/template @@ -2,7 +2,6 @@ pkgname=lame version=3.99.4 revision=1 -subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--enable-nasm --enable-shared" makedepends="ncurses-devel" @@ -30,3 +29,18 @@ long_desc=" MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project." + +lame-devel_package() { + depends="lame>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +lame_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/laptop-mode/template b/srcpkgs/laptop-mode/template index 3ee531d6ff..41e467ba9c 100644 --- a/srcpkgs/laptop-mode/template +++ b/srcpkgs/laptop-mode/template @@ -3,26 +3,14 @@ pkgname=laptop-mode version=1.62 revision=4 wrksrc=$pkgname-tools_$version -noarch=yes short_desc="Laptop power saving package for Linux systems" maintainer="tripledes " license="GPL-2" homepage="http://samwel.tk/laptop_mode/" distfiles="${homepage}/tools/downloads/$pkgname-tools_$version.tar.gz" checksum=d40b3d2fb4dc120b4a427ef7dbddc9dd4d9ea0c475685538d36d3457b39158cd -depends="acpid hdparm sdparm wireless_tools xset bluez" -conf_files="/etc/laptop-mode/lm-profiler.conf /etc/laptop-mode/conf.d/lcd-brightness.conf /etc/laptop-mode/conf.d/video-out.conf - /etc/laptop-mode/conf.d/wireless-iwl-power.conf /etc/laptop-mode/conf.d/nmi-watchdog.conf /etc/laptop-mode/conf.d/dpms-standby.conf - /etc/laptop-mode/conf.d/runtime-pm.conf /etc/laptop-mode/conf.d/ethernet.conf /etc/laptop-mode/conf.d/eee-superhe.conf - /etc/laptop-mode/conf.d/hal-polling.conf /etc/laptop-mode/conf.d/cpufreq.conf /etc/laptop-mode/conf.d/battery-level-polling.conf - /etc/laptop-mode/conf.d/intel-hda-powersave.conf /etc/laptop-mode/conf.d/configuration-file-control.conf /etc/laptop-mode/conf.d/bluetooth.conf - /etc/laptop-mode/conf.d/usb-autosuspend.conf /etc/laptop-mode/conf.d/wireless-ipw-power.conf /etc/laptop-mode/conf.d/start-stop-programs.conf - /etc/laptop-mode/conf.d/ac97-powersave.conf /etc/laptop-mode/conf.d/auto-hibernate.conf /etc/laptop-mode/conf.d/intel-sata-powermgmt.conf - /etc/laptop-mode/conf.d/wireless-power.conf /etc/laptop-mode/conf.d/sched-smt-power-savings.conf /etc/laptop-mode/conf.d/sched-mc-power-savings.conf - /etc/laptop-mode/conf.d/terminal-blanking.conf /etc/laptop-mode/conf.d/exec-commands.conf /etc/laptop-mode/laptop-mode.conf" -do_install() -{ +do_install() { export DESTDIR=${XBPS_DESTDIR}/${pkgname}-${version} ACPI=force APM=disabled PMU=disabled INIT_D=none MAN_D=/usr/share/man sed -i 's|/etc/udev|/usr/lib/udev|g' install.sh # see /lib -> /usr/lib move @@ -31,3 +19,40 @@ do_install() sed -i 's|/sbin/udevadm|/usr/bin/udevadm|g' usr/share/laptop-mode-tools/modules/hdparm $wrksrc/install.sh } + +laptop-mode_package() { + conf_files=" + /etc/laptop-mode/lm-profiler.conf + /etc/laptop-mode/conf.d/lcd-brightness.conf + /etc/laptop-mode/conf.d/video-out.conf + /etc/laptop-mode/conf.d/wireless-iwl-power.conf + /etc/laptop-mode/conf.d/nmi-watchdog.conf + /etc/laptop-mode/conf.d/dpms-standby.conf + /etc/laptop-mode/conf.d/runtime-pm.conf + /etc/laptop-mode/conf.d/ethernet.conf + /etc/laptop-mode/conf.d/eee-superhe.conf + /etc/laptop-mode/conf.d/hal-polling.conf + /etc/laptop-mode/conf.d/cpufreq.conf + /etc/laptop-mode/conf.d/battery-level-polling.conf + /etc/laptop-mode/conf.d/intel-hda-powersave.conf + /etc/laptop-mode/conf.d/configuration-file-control.conf + /etc/laptop-mode/conf.d/bluetooth.conf + /etc/laptop-mode/conf.d/usb-autosuspend.conf + /etc/laptop-mode/conf.d/wireless-ipw-power.conf + /etc/laptop-mode/conf.d/start-stop-programs.conf + /etc/laptop-mode/conf.d/ac97-powersave.conf + /etc/laptop-mode/conf.d/auto-hibernate.conf + /etc/laptop-mode/conf.d/intel-sata-powermgmt.conf + /etc/laptop-mode/conf.d/wireless-power.conf + /etc/laptop-mode/conf.d/sched-smt-power-savings.conf + /etc/laptop-mode/conf.d/sched-mc-power-savings.conf + /etc/laptop-mode/conf.d/terminal-blanking.conf + /etc/laptop-mode/conf.d/exec-commands.conf + /etc/laptop-mode/laptop-mode.conf" + noarch="yes" + depends="acpid hdparm sdparm wireless_tools xset bluez" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/latencytop/template b/srcpkgs/latencytop/template index 6cce5c8b6c..c649736910 100644 --- a/srcpkgs/latencytop/template +++ b/srcpkgs/latencytop/template @@ -1,14 +1,15 @@ # Template file for 'latencytop' pkgname=latencytop version=0.5 -homepage="http://www.latencytop.org" -distfiles="http://www.latencytop.org/download/$pkgname-$version.tar.gz" -build_style=gnu-makefile -makedepends="pkg-config gtk+-devel ncurses-devel" revision=1 +build_style=gnu-makefile +hostmakedepends="pkg-config" +makedepends="gtk+-devel ncurses-devel" short_desc="Measuring and fixing Linux latency" maintainer="Juan RP " license="GPL-2" +homepage="http://www.latencytop.org" +distfiles="http://www.latencytop.org/download/$pkgname-$version.tar.gz" checksum=9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef long_desc=" Skipping audio, slower servers, everyone knows the symptoms of latency. But to know @@ -20,7 +21,12 @@ long_desc=" operation/action is causing the latency to happen so that the code can be changed to avoid the worst latency hiccups." - pre_install() { vmkdir usr/sbin } + +latencytop_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lbreakout2/template b/srcpkgs/lbreakout2/template index 35ac465c5f..ce254dad97 100644 --- a/srcpkgs/lbreakout2/template +++ b/srcpkgs/lbreakout2/template @@ -1,7 +1,7 @@ # Template file for 'lbreakout2' pkgname=lbreakout2 version=2.6.4 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-rpath --enable-sdl-net --localstatedir=/var/games/$pkgname" make_install_args="doc_dir=/usr/share/doc" @@ -23,8 +23,13 @@ long_desc=" levelsets with the integrated easy-to-use level editor!" post_install() { - install -Dm755 ${FILESDIR}/lbreakout2.desktop \ - ${DESTDIR}/usr/share/applications/lbreakout2.desktop - install -Dm755 ${FILESDIR}/lbreakout2.png \ - ${DESTDIR}/usr/share/pixmaps/lbreakout2.png + vinstall ${FILESDIR}/lbreakout2.desktop 644 usr/share/applications + vinstall ${FILESDIR}/lbreakout2.png 644 usr/share/pixmaps +} + +lbreakout2_package() { + pkg_install() { + vmove usr + vmove var + } } diff --git a/srcpkgs/leveldb/leveldb-devel.template b/srcpkgs/leveldb/leveldb-devel.template deleted file mode 100644 index 3901d1743f..0000000000 --- a/srcpkgs/leveldb/leveldb-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'leveldb-devel'. -# -noarch=yes -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/share/doc usr/share -} diff --git a/srcpkgs/leveldb/template b/srcpkgs/leveldb/template index 65af064df0..bbc5957683 100644 --- a/srcpkgs/leveldb/template +++ b/srcpkgs/leveldb/template @@ -1,8 +1,7 @@ # Template file for 'leveldb' pkgname=leveldb version=1.8.0 -revision=1 -subpackages="${pkgname}-devel" +revision=2 short_desc="A fast and lightweight key/value database library by Google" maintainer="Juan RP " license="BSD" @@ -32,3 +31,18 @@ do_install() { # license vinstall LICENSE 644 usr/share/licenses/${pkgname} } + +leveldb-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/share/doc + } +} + +leveldb_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lftp/template b/srcpkgs/lftp/template index fec772d1d8..1959219ebd 100644 --- a/srcpkgs/lftp/template +++ b/srcpkgs/lftp/template @@ -5,10 +5,17 @@ revision=1 build_style=gnu-configure configure_args="--with-modules --disable-rpath --without-included-regex --with-openssl" makedepends="ncurses-devel readline-devel openssl-devel expat-devel" -conf_files="/etc/lftp.conf" short_desc="Sophisticated FTP/HTTP client" maintainer="Juan RP " homepage="http://lftp.yar.ru/" license="GPL-3" distfiles="http://ftp.yars.free.net/pub/source/lftp/lftp-$version.tar.xz" checksum=86d399b1515950e54c47950a99260919b9bb9cb5775ac14334e66b6b88b5ce84 + +lftp_package() { + conf_files="/etc/lftp.conf" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/lftpfs/template b/srcpkgs/lftpfs/template index cbbca70192..23a413237d 100644 --- a/srcpkgs/lftpfs/template +++ b/srcpkgs/lftpfs/template @@ -1,14 +1,14 @@ # Template file for 'lftpfs' pkgname=lftpfs version=0.4.3 -distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" -build_style=perl-module -fulldepends="perl-Fuse perl-IPC-Run lftp" revision=1 +build_style=perl-module +makedepends="perl-Fuse perl-IPC-Run lftp" short_desc="Filesystem with caching based on FUSE and LFTP" maintainer="Juan RP " homepage="http://lftpfs.sourceforge.net/" license="GPL-2" +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=5116e06dfc03c4000f3157916d4bf2b9bcd6f47667790217dbf3b9f04861bf39 long_desc=" LftpFS is a read-only network filesystem with caching for smart mirror of @@ -23,10 +23,15 @@ long_desc=" using as mirror tool with on-demand download of files " -noarch=yes - -post_install() -{ +post_install() { vmkdir usr mv ${DESTDIR}/usr/lib/perl5/vendor_perl/bin ${DESTDIR}/usr } + +lftpfs_package() { + depends="perl-Fuse perl-IPC-Run lftp" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lgi/template b/srcpkgs/lgi/template index 2d7c167845..70f69a5fc4 100644 --- a/srcpkgs/lgi/template +++ b/srcpkgs/lgi/template @@ -3,9 +3,8 @@ pkgname=lgi version=0.6.2 revision=2 build_style=gnu-makefile -make_install_args="LUA_LIBDIR=/usr/lib/lua/5.1 LUA_SHAREDIR=/usr/share/lua/5.1" -depends="gir-freedesktop" -makedepends="glib-devel libffi-devel lua-devel>=5.1<5.2 gobject-introspection" +makedepends="glib-devel libffi-devel lua-devel>=5.1<5.2 + gobject-introspection gir-freedesktop" short_desc="Lua binadings for gnome/gobject using gobject-introspection library" maintainer="Juan RP " license="MIT" @@ -13,7 +12,17 @@ homepage="https://github.com/pavouk/lgi" distfiles="https://github.com/downloads/pavouk/lgi/lgi-${version}.tar.gz" checksum=93b0a520f03822794d94cb86273d0744a3808792e2832b67f17ee03d7ded8773 -post_install() { +do_install() { + make DESTDIR=${DESTDIR} LUA_LIBDIR=/usr/lib/lua/5.1 \ + LUA_SHAREDIR=/usr/share/lua/5.1 install + vinstall tools/dump-typelib.lua 755 usr/bin dump-typelib vinstall LICENSE 644 usr/share/licenses/lgi } + +lgi_package() { + depends="gir-freedesktop" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libHX/libHX-devel.template b/srcpkgs/libHX/libHX-devel.template deleted file mode 100644 index e01c59df7b..0000000000 --- a/srcpkgs/libHX/libHX-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libHX-devel'. -# -depends="${sourcepkg}-${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/libHX/template b/srcpkgs/libHX/template index 4dd780866d..b4308cf45a 100644 --- a/srcpkgs/libHX/template +++ b/srcpkgs/libHX/template @@ -4,10 +4,25 @@ version=3.14.1 revision=1 build_style=gnu-configure configure_args="--enable-static" -subpackages="${pkgname}-devel" short_desc="C library providing data structures and common functions" maintainer="Juan RP " homepage="http://libhx.sourceforge.net/" license="LGPL-2.1" distfiles="${SOURCEFORGE_SITE}/libhx/${pkgname}-${version}.tar.xz" checksum=a1550dc9cb8d441dce83dbd1f2b609ae45439e95568c945499d0a084cc76f1e6 + +libHX-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libHX_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libICE/libICE-devel.template b/srcpkgs/libICE/libICE-devel.template deleted file mode 100644 index 3efdbdba5d..0000000000 --- a/srcpkgs/libICE/libICE-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libICE-devel'. -# -depends="xtrans xproto libICE-${version}_${revision}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/share usr - vmove usr/lib/pkgconfig usr/lib - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libICE/template b/srcpkgs/libICE/template index 6cff86f61b..d1736b1c63 100644 --- a/srcpkgs/libICE/template +++ b/srcpkgs/libICE/template @@ -2,7 +2,6 @@ pkgname=libICE version=1.0.8 revision=3 -subpackages="$pkgname-devel" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="xtrans xproto" @@ -12,3 +11,20 @@ license="MIT" homepage="http://xorg.freedesktop.org/" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=24a991284d02ff0c789bc8d11ad2e4dffe144cb70f24e28f9ce3e8b1ee08b71e + +libICE-devel_package() { + depends="xtrans xproto libICE-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libICE_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libIDL/libIDL-devel.template b/srcpkgs/libIDL/libIDL-devel.template deleted file mode 100644 index a9b8b446d0..0000000000 --- a/srcpkgs/libIDL/libIDL-devel.template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'libIDL-devel'. -# -depends="libIDL" -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/bin ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libIDL/template b/srcpkgs/libIDL/template index c23fb3e084..e80e89ae76 100644 --- a/srcpkgs/libIDL/template +++ b/srcpkgs/libIDL/template @@ -1,14 +1,15 @@ # Template build file for 'libIDL'. pkgname=libIDL version=0.8.13 -revision=4 -distfiles="${GNOME_SITE}/$pkgname/0.8/$pkgname-$version.tar.bz2" +revision=5 build_style=gnu-configure -makedepends="pkg-config flex glib-devel" +hostmakedepends="pkg-config flex" +makedepends="libglib-devel" short_desc="CORBA Interface Definition Language parser" homepage="http://projects.gnome.org/ORBit2/" license="LGPL-2.1" maintainer="Juan RP " +distfiles="${GNOME_SITE}/$pkgname/0.8/$pkgname-$version.tar.bz2" checksum=bccc7e10dae979518ff012f8464e47ec4b3558a5456a94c8679653aa0b262b71 long_desc=" libIDL is a library licensed under the GNU LGPL for creating trees of @@ -33,4 +34,23 @@ long_desc=" full semantic analysis with some optimizations, and will attempt to generate meaningful errors and warnings for invalid or deprecated IDL." -subpackages="$pkgname-devel" +if [ "$CROSS_BUILD" ]; then + makedepends+=" libfl-devel" +fi + +libIDL-devel_package() { + depends="libIDL>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libIDL_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libSM/libSM-devel.template b/srcpkgs/libSM/libSM-devel.template deleted file mode 100644 index d54e40240d..0000000000 --- a/srcpkgs/libSM/libSM-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libSM-devel'. -# -depends="xproto libICE-devel libSM>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/doc usr/share -} diff --git a/srcpkgs/libSM/template b/srcpkgs/libSM/template index f3389e8c22..e889ddcbba 100644 --- a/srcpkgs/libSM/template +++ b/srcpkgs/libSM/template @@ -2,7 +2,6 @@ pkgname=libSM version=1.2.1 revision=2 -subpackages="$pkgname-devel" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libuuid-devel libICE-devel" @@ -12,3 +11,20 @@ license="MIT" homepage="http://xorg.freedesktop.org/" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=93c11d569c64f40723b93b44af1efb474a0cfe92573b0c8c330343cabb897f1d + +libSM-devel_package() { + depends="xproto libICE-devel libSM>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share/doc + } +} + +libSM_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXScrnSaver/libXScrnSaver-devel.template b/srcpkgs/libXScrnSaver/libXScrnSaver-devel.template deleted file mode 100644 index d284d6abbc..0000000000 --- a/srcpkgs/libXScrnSaver/libXScrnSaver-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libXScrnSaver-devel'. -# -depends="scrnsaverproto libX11-devel libXext-devel libXScrnSaver" -short_desc="${short_desc} -- 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 usr -} diff --git a/srcpkgs/libXScrnSaver/template b/srcpkgs/libXScrnSaver/template index 0a3d8a6ff3..60cc4ba010 100644 --- a/srcpkgs/libXScrnSaver/template +++ b/srcpkgs/libXScrnSaver/template @@ -1,17 +1,33 @@ # Template build file for 'libXScrnSaver'. pkgname=libXScrnSaver version=1.2.2 -homepage="${XORG_SITE}" -distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" -build_style=gnu-configure -makedepends="pkg-config xextproto scrnsaverproto libX11-devel libXext-devel" revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="xextproto scrnsaverproto libX11-devel libXext-devel" short_desc="X11 Screen Saver Library" maintainer="Juan RP " license="MIT" +homepage="${XORG_SITE}" +distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d long_desc=" This package contains the library for the X11 Screen Saver extension. This is from the modular X.org X11 project." -subpackages="$pkgname-devel" +libXScrnSaver-devel_package() { + depends="scrnsaverproto libX11-devel libXext-devel libXScrnSaver>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libXScrnSaver_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXaw/libXaw-devel.template b/srcpkgs/libXaw/libXaw-devel.template deleted file mode 100644 index 3e80742f5a..0000000000 --- a/srcpkgs/libXaw/libXaw-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libXaw-devel'. -# -depends="xproto libXext-devel libXt-devel libXmu-devel libXpm-devel libXaw>=$version" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libXaw/template b/srcpkgs/libXaw/template index 4c91e60669..14178e351b 100644 --- a/srcpkgs/libXaw/template +++ b/srcpkgs/libXaw/template @@ -4,7 +4,6 @@ version=1.0.11 revision=2 build_style=gnu-configure configure_args="--without-xmlto" -subpackages="$pkgname-devel" hostmakedepends="pkg-config" makedepends="libXext-devel libXt-devel libXmu-devel libXpm-devel" short_desc="X Athena Widgets Library from modular Xorg X11" @@ -16,3 +15,20 @@ checksum=87a874acbb71d1ee59b8047312fc91d89dcb373e2970f121184cdae29a3d9492 long_desc=" Xaw is the X Athena Widget Set. Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library." + +libXaw-devel_package() { + depends="xproto libXext-devel libXt-devel libXmu-devel libXpm-devel libXaw>=$version" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libXaw_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXevie/libXevie-devel.template b/srcpkgs/libXevie/libXevie-devel.template deleted file mode 100644 index 6a17e67122..0000000000 --- a/srcpkgs/libXevie/libXevie-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libXevie-devel'. -# -depends="pkg-config xproto xextproto evieext libX11-devel libXext-devel libXevie" -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/lib*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libXevie/template b/srcpkgs/libXevie/template index 2b11eead2d..6097386646 100644 --- a/srcpkgs/libXevie/template +++ b/srcpkgs/libXevie/template @@ -1,17 +1,33 @@ # Template build file for 'libXevie'. pkgname=libXevie version=1.0.3 -distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" -build_style=gnu-configure revision=3 -makedepends="pkg-config xproto xextproto evieext libX11-devel libXext-devel" +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="xproto xextproto evieext libX11-devel libXext-devel" short_desc="X Event Interceptor Library" homepage="http://xorg.freedesktop.org" license="MIT/X11" maintainer="Juan RP " +distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=c00b382123e58f595b3cecaa50471ebec534660e5f92ae46d94266345844fd73 long_desc=" This package contains the library and header files for the X Event Interceptor Library. This is from the modular X.org project." -subpackages="$pkgname-devel" +libXevie-devel_package() { + depends="xproto xextproto evieext libX11-devel libXext-devel libXevie>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} + +libXevie_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXfont/libXfont-devel.template b/srcpkgs/libXfont/libXfont-devel.template deleted file mode 100644 index 4f753ff9ed..0000000000 --- a/srcpkgs/libXfont/libXfont-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libXfont-devel'. -# -depends="xproto fontsproto zlib-devel libfontenc-devel freetype-devel - libXfont-${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/libXfont/template b/srcpkgs/libXfont/template index f61384e396..8b192c6ab3 100644 --- a/srcpkgs/libXfont/template +++ b/srcpkgs/libXfont/template @@ -11,10 +11,26 @@ license="MIT" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=bbf96fb80b6b95cdb1dc968085082a6e668193a54cd9d6e2af669909c0cb7170 -subpackages="$pkgname-devel" hostmakedepends="pkg-config xtrans" makedepends="xproto xtrans fontcacheproto fontsproto freetype-devel libfontenc-devel" post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} } + +libXfont-devel_package() { + depends="xproto fontsproto zlib-devel libfontenc-devel freetype-devel + libXfont-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libXfont_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXfontcache/libXfontcache-devel.template b/srcpkgs/libXfontcache/libXfontcache-devel.template deleted file mode 100644 index 5c0a88b04b..0000000000 --- a/srcpkgs/libXfontcache/libXfontcache-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libXfontcache-devel'. -# -depends="fontcacheproto libXfontcache" -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/lib/lib*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libXfontcache/template b/srcpkgs/libXfontcache/template index d5dfc5491c..80bf55e6a7 100644 --- a/srcpkgs/libXfontcache/template +++ b/srcpkgs/libXfontcache/template @@ -1,18 +1,30 @@ # Template build file for 'libXfontcache'. pkgname=libXfontcache version=1.0.4 -revision=4 -distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" +revision=5 build_style=gnu-configure -makedepends="pkg-config xproto fontcacheproto libX11-devel libXext-devel" -short_desc="X-TrueType font cache extension client library " +hostmakedepends="pkg-config" +makedepends="xproto fontcacheproto libX11-devel libXext-devel" +short_desc="X-TrueType font cache extension client library" homepage="http://xorg.freedesktop.org" license="MIT" maintainer="Juan RP " +distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=ffe747cfbf81cdd862af1b05d021ad1ab83b623eab5b32b0a618efb4c0f3e01c -long_desc=" - This package provides the X-TrueType font cache extension client library. - This is from the modular X.org X11 project." +libXfontcache-devel_package() { + depends="fontcacheproto libXfontcache>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} -subpackages="$pkgname-devel" +libXfontcache_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXmu/libXmu-devel.template b/srcpkgs/libXmu/libXmu-devel.template deleted file mode 100644 index 2ea760a5ed..0000000000 --- a/srcpkgs/libXmu/libXmu-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libXmu-devel'. -# -depends="xproto libXext-devel libXt-devel libXmu>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libXmu/template b/srcpkgs/libXmu/template index 06e219cc13..04962e4953 100644 --- a/srcpkgs/libXmu/template +++ b/srcpkgs/libXmu/template @@ -3,7 +3,6 @@ pkgname=libXmu version=1.1.1 revision=2 build_style=gnu-configure -subpackages="$pkgname-devel" hostmakedepends="pkg-config" makedepends="libXext-devel libXt-devel" short_desc="X Miscellaneous Utilities library" @@ -19,3 +18,19 @@ long_desc=" Xlib or Xt. This also includes the Mini Xmu library that does not use Xt and Xaw." + +libXmu-devel_package() { + depends="xproto libXext-devel libXt-devel libXmu>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libXmu_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXp/libXp-devel.template b/srcpkgs/libXp/libXp-devel.template deleted file mode 100644 index b29c9a5563..0000000000 --- a/srcpkgs/libXp/libXp-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libXp-devel'. -# -depends="libXp" -short_desc="${short_desc} (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/lib/lib*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libXp/template b/srcpkgs/libXp/template index 1f5fabb4aa..d5fd3f9c77 100644 --- a/srcpkgs/libXp/template +++ b/srcpkgs/libXp/template @@ -1,20 +1,34 @@ # Template build file for 'libXp'. pkgname=libXp version=1.0.0 -revision=4 -distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" +revision=5 build_style=gnu-configure -makedepends="pkg-config xproto xextproto printproto libX11-devel libXext-devel" +hostmakedepends="pkg-config" +makedepends="xproto xextproto printproto libX11-devel libXext-devel" short_desc="X Print Service Extension Library" homepage="http://xorg.freedesktop.org" license="MIT" +distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" maintainer="Juan RP " checksum=7e64b1550ce85b05762e960459ac676a0406c786756b200ff29c57f84bce9cae long_desc=" The X Print Service Extension Library (libXp) provides public APIs to allow client applications to render to non-display devices. - It can query about printers, send jobs, and more. + It can query about printers, send jobs, and more." - This is from the modular X.org." +libXp-devel_package() { + depends="libXp>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} -subpackages="$pkgname-devel" +libXp_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXpm/libXpm-devel.template b/srcpkgs/libXpm/libXpm-devel.template deleted file mode 100644 index 2d4744b90e..0000000000 --- a/srcpkgs/libXpm/libXpm-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libXpm-devel'. -# -depends="libX11-devel libXpm>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libXpm/template b/srcpkgs/libXpm/template index 088012599d..1304fc125c 100644 --- a/srcpkgs/libXpm/template +++ b/srcpkgs/libXpm/template @@ -2,7 +2,6 @@ pkgname=libXpm version=3.5.10 revision=1 -subpackages="$pkgname-devel" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="xproto libSM-devel libXext-devel libXt-devel" @@ -15,3 +14,19 @@ checksum=a6db7e234750e7d60330017972e31d8e1f29f0a8c1391e4ac82f6102d919a735 long_desc=" XPM (X PixMap) is a format for storing and retrieving X pixmaps to and from files." + +libXpm-devel_package() { + depends="libX11-devel libXpm>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libXpm_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXres/libXres-devel.template b/srcpkgs/libXres/libXres-devel.template deleted file mode 100644 index a72021f64b..0000000000 --- a/srcpkgs/libXres/libXres-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libXres-devel'. -# -depends="xproto libXext-devel libXres>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libXres/template b/srcpkgs/libXres/template index 90e8fcb087..0d37555645 100644 --- a/srcpkgs/libXres/template +++ b/srcpkgs/libXres/template @@ -2,7 +2,6 @@ pkgname=libXres version=1.0.6 revision=2 -subpackages="$pkgname-devel" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="resourceproto libXext-devel" @@ -18,3 +17,20 @@ long_desc=" X-Resource is an extension that allows a client to query the X server about its usage of various resources." + +libXres-devel_package() { + depends="xproto libXext-devel libXres>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libXres_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXt/libXt-devel.template b/srcpkgs/libXt/libXt-devel.template deleted file mode 100644 index 6a4c7ae142..0000000000 --- a/srcpkgs/libXt/libXt-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libXt-devel'. -# -depends="xproto libSM-devel libICE-devel libX11-devel libXt>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/man usr/share - vmove usr/share/doc usr/share -} diff --git a/srcpkgs/libXt/template b/srcpkgs/libXt/template index 5a99ba88e8..5ab7cd3861 100644 --- a/srcpkgs/libXt/template +++ b/srcpkgs/libXt/template @@ -5,7 +5,6 @@ revision=2 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="xproto kbproto libSM-devel libX11-devel" -subpackages="$pkgname-devel" short_desc="X Toolkit Intrinsics library" maintainer="Juan RP " license="MIT" @@ -19,6 +18,24 @@ long_desc=" windows, and interpreting resource files." if [ "$CROSS_BUILD" ]; then - hostmakedepends="pkg-config xproto" + hostmakedepends+=" xproto" configure_args="CC_FOR_BUILD=cc CFLAGS_FOR_BUILD=" fi + +libXt-devel_package() { + depends="xproto libSM-devel libICE-devel libX11-devel libXt>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share/man + vmove usr/share/doc + } +} + +libXt_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXtst/libXtst-devel.template b/srcpkgs/libXtst/libXtst-devel.template deleted file mode 100644 index eba7c97f7b..0000000000 --- a/srcpkgs/libXtst/libXtst-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libXtst-devel'. -# -depends="recordproto libXext-devel libXi-devel libXtst>=${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 - vmove usr/share usr -} diff --git a/srcpkgs/libXtst/template b/srcpkgs/libXtst/template index dc7e1c8bd6..b22dc6b48d 100644 --- a/srcpkgs/libXtst/template +++ b/srcpkgs/libXtst/template @@ -3,7 +3,6 @@ pkgname=libXtst version=1.2.1 revision=3 build_style=gnu-configure -subpackages="$pkgname-devel" hostmakedepends="pkg-config" makedepends="recordproto inputproto libXext-devel libXi-devel" short_desc="X Tst Library" @@ -12,3 +11,20 @@ license="MIT" homepage="${XORG_SITE}" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=7eea3e66e392aca3f9dad6238198753c28e1c32fa4903cbb7739607a2504e5e0 + +libXtst-devel_package() { + depends="recordproto libXext-devel libXi-devel libXtst>=${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} + +libXtst_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXxf86dga/libXxf86dga-devel.template b/srcpkgs/libXxf86dga/libXxf86dga-devel.template deleted file mode 100644 index a520861951..0000000000 --- a/srcpkgs/libXxf86dga/libXxf86dga-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libXxf86dga-devel'. -# -depends="xf86dgaproto libXext-devel libXxf86dga>=$version" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libXxf86dga/template b/srcpkgs/libXxf86dga/template index d7c6426f53..183c7ac8dc 100644 --- a/srcpkgs/libXxf86dga/template +++ b/srcpkgs/libXxf86dga/template @@ -3,7 +3,6 @@ pkgname=libXxf86dga version=1.1.3 revision=2 build_style=gnu-configure -subpackages="$pkgname-devel" hostmakedepends="pkg-config" makedepends="xf86dgaproto libXext-devel" short_desc="Library for the XFree86-DGA X extension" @@ -16,3 +15,20 @@ long_desc=" These functions provide an interface to the server extension XFree86-DGA Extension which allows local programs direct access to the video frame buffer." + +libXxf86dga-devel_package() { + depends="xf86dgaproto libXext-devel libXxf86dga>=$version" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libXxf86dga_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libXxf86misc/libXxf86misc-devel.template b/srcpkgs/libXxf86misc/libXxf86misc-devel.template deleted file mode 100644 index fa9a88c980..0000000000 --- a/srcpkgs/libXxf86misc/libXxf86misc-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libXxf86misc-devel'. -# -depends="pkg-config xproto xextproto xf86miscproto libX11-devel libXxf86misc" -short_desc="${short_desc} (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/lib/lib*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libXxf86misc/template b/srcpkgs/libXxf86misc/template index ab26b3b943..f35e16dd35 100644 --- a/srcpkgs/libXxf86misc/template +++ b/srcpkgs/libXxf86misc/template @@ -1,18 +1,34 @@ # Template build file for 'libXxf86misc'. pkgname=libXxf86misc version=1.0.1 -revision=4 -distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" +revision=5 build_style=gnu-configure -makedepends="pkg-config xproto xextproto xf86miscproto libX11-devel libXext-devel" +hostmakedepends="pkg-config" +makedepends="xproto xextproto xf86miscproto libX11-devel libXext-devel" short_desc="Library for the XFree86-Misc X extension" homepage="http://xorg.freedesktop.org" license="MIT" maintainer="Juan RP " +distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=2122d67d49aaa06eeaeb3db173ea8a7048f3b52665e5135874bc5cadada91289 long_desc=" This library from the modular X.org project provides an interface to the XFree86-Misc extension which allows various server settings to be queried and changed dynamically." -subpackages="$pkgname-devel" +libXxf86misc-devel_package() { + depends="xproto xextproto xf86miscproto libX11-devel libXxf86misc>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} + +libXxf86misc_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libao/libao-devel.template b/srcpkgs/libao/libao-devel.template deleted file mode 100644 index 008aa3907c..0000000000 --- a/srcpkgs/libao/libao-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libao-devel'. -# -noarch=yes -depends="libao>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/doc usr/share - vmove usr/share/aclocal usr/share -} diff --git a/srcpkgs/libao/template b/srcpkgs/libao/template index 29a60bd411..7b7020adf2 100644 --- a/srcpkgs/libao/template +++ b/srcpkgs/libao/template @@ -1,7 +1,7 @@ # Template file for 'libao' pkgname=libao version=1.1.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-alsa-mmap" homepage="http://xiph.org/ao/" @@ -11,10 +11,28 @@ license="GPL-2" distfiles="http://downloads.xiph.org/releases/ao/${pkgname}-${version}.tar.gz" checksum=29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4 -subpackages="libao-devel" -makedepends="pkg-config alsa-lib-devel pulseaudio-devel" -conf_files="/etc/libao.conf" +hostmakedepends="pkg-config" +makedepends="alsa-lib-devel pulseaudio-devel" post_install() { vinstall ${FILESDIR}/libao.conf 644 etc } + +libao-devel_package() { + depends="libao>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/doc + vmove usr/share/aclocal + } +} + +libao_package() { + conf_files="/etc/libao.conf" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/libapp/libapp-devel.template b/srcpkgs/libapp/libapp-devel.template deleted file mode 100644 index bfe783d672..0000000000 --- a/srcpkgs/libapp/libapp-devel.template +++ /dev/null @@ -1,9 +0,0 @@ -# Template file for 'libapp-devel'. -short_desc="${short_desc} - development files" -depends="${sourcepkg}>=${version}" -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libapp/template b/srcpkgs/libapp/template index dde2de8440..289afc588b 100644 --- a/srcpkgs/libapp/template +++ b/srcpkgs/libapp/template @@ -1,9 +1,8 @@ # Template file for 'libapp' pkgname=libapp version=20110513 -revision=1 -subpackages="libapp-devel" -short_desc="utilities for repetitive tasks in app development" +revision=3 +short_desc="Utilities for repetitive tasks in app development" maintainer="pancake " license="LGPL-3" homepage="https://github.com/drotiro/libapp" @@ -26,3 +25,18 @@ do_build() { do_install() { make install PREFIX=${DESTDIR}/usr } + +libapp-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libapp_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libart/libart-devel.template b/srcpkgs/libart/libart-devel.template deleted file mode 100644 index d6f4a3a2af..0000000000 --- a/srcpkgs/libart/libart-devel.template +++ /dev/null @@ -1,19 +0,0 @@ -# Template file for 'libart-devel'. -# -depends="libart" -short_desc="${short_desc} (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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr -} diff --git a/srcpkgs/libart/template b/srcpkgs/libart/template index 5a7acbdb3c..6e63f9b65b 100644 --- a/srcpkgs/libart/template +++ b/srcpkgs/libart/template @@ -1,15 +1,15 @@ # Template build file for 'libart'. pkgname=libart version=2.3.21 -revision=4 +revision=5 wrksrc="libart_lgpl-$version" -distfiles="${GNOME_SITE}/libart_lgpl/2.3/libart_lgpl-$version.tar.bz2" build_style=gnu-configure -makedepends="pkg-config" +hostmakedepends="pkg-config" short_desc="High-performance 2D graphics library" homepage="http://www.levien.com/libart/" license="LGPL-2.1" maintainer="Juan RP " +distfiles="${GNOME_SITE}/libart_lgpl/2.3/libart_lgpl-$version.tar.bz2" checksum=fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa long_desc=" Libart is a library for high-performance 2D graphics. It is currently @@ -25,4 +25,19 @@ long_desc=" of Region of Interest, as well as a two-phase rendering pipeline optimized for interactive display." -subpackages="$pkgname-devel" +libart-devel_package() { + depends="libart>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/bin + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libart_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libass/libass-devel.template b/srcpkgs/libass/libass-devel.template deleted file mode 100644 index 2356be945b..0000000000 --- a/srcpkgs/libass/libass-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libass-devel'. -# -depends="fontconfig-devel enca-devel fribidi-devel - libass-${version}_${revision}" -short_desc="${short_desc} - development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libass/template b/srcpkgs/libass/template index 218d0f3a63..44ad4936a1 100644 --- a/srcpkgs/libass/template +++ b/srcpkgs/libass/template @@ -1,22 +1,34 @@ # Template build file for 'libass. pkgname=libass version=0.10.1 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config enca-devel fontconfig-devel fribidi-devel - harfbuzz-devel>=0.9.5" +hostmakedepends="pkg-config" +makedepends="enca-devel fontconfig-devel fribidi-devel harfbuzz-devel>=0.9.5" short_desc="A portable library for SSA/ASS subtitles rendering" maintainer="Juan RP " homepage="http://xorg.freedesktop.org/" license="MIT" distfiles="http://libass.googlecode.com/files/${pkgname}-${version}.tar.xz" checksum=fbf287ac6d0dbdf015783b7354280ad8371c106326ad3f77a99471bc5aa18210 -long_desc=" - The $pkgname package contains $short_desc." - -subpackages="$pkgname-devel" post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} } + +libass-devel_package() { + depends="fontconfig-devel enca-devel fribidi-devel + libass-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libass_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libassuan/libassuan-devel.template b/srcpkgs/libassuan/libassuan-devel.template deleted file mode 100644 index 6f5eae056f..0000000000 --- a/srcpkgs/libassuan/libassuan-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libassuan-devel'. -# -depends="libgpg-error-devel libassuan" -short_desc="${short_desc} - 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/{bin,include} ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libassuan/template b/srcpkgs/libassuan/template index 67a8b3d915..57a646d08e 100644 --- a/srcpkgs/libassuan/template +++ b/srcpkgs/libassuan/template @@ -1,19 +1,32 @@ # Template file for 'libassuan' pkgname=libassuan version=2.0.3 -homepage="http://www.gnupg.org/related_software/libassuan" -distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2" +revision=2 build_style=gnu-configure makedepends="libgpg-error-devel" -revision=1 short_desc="IPC library used by some GnuPG related software" maintainer="Juan RP " license="GPL-2" +homepage="http://www.gnupg.org/related_software/libassuan" +distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2" checksum=bad5682374c76bcc0abb1a7a34c9557af6874a477500748e64a7d3def79cac1b long_desc=" Libassuan is a small library implementing the so-called Assuan protocol. This protocol is used for IPC between most newer GnuPG components. Both, server and client side functions are provided." -subpackages="$pkgname-devel" +libassuan-devel_package() { + depends="libgpg-error-devel libassuan>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/share + } +} +libassuan_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libasyncns/libasyncns-devel.template b/srcpkgs/libasyncns/libasyncns-devel.template deleted file mode 100644 index 3a5b6bc1c9..0000000000 --- a/srcpkgs/libasyncns/libasyncns-devel.template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'libasyncns-devel'. -# -depends="glibc-devel libasyncns" -short_desc="${short_desc} (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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libasyncns/template b/srcpkgs/libasyncns/template index 7c11595d7e..1a726d5ec6 100644 --- a/srcpkgs/libasyncns/template +++ b/srcpkgs/libasyncns/template @@ -1,14 +1,14 @@ # Template file for 'libasyncns' pkgname=libasyncns version=0.8 -revision=4 -distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz" +revision=6 build_style=gnu-configure configure_args="CFLAGS=-fPIC" short_desc="C library for executing name service queries asynchronously" homepage="http://0pointer.de/lennart/projects/libasyncns/" license="LGPL-2.1" maintainer="Juan RP " +distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz" checksum=4f1a66e746cbe54ff3c2fbada5843df4fbbbe7481d80be003e8d11161935ab74 long_desc=" libasyncns is a C library for Linux/Unix for executing name service queries @@ -20,4 +20,19 @@ long_desc=" name queries. Instead, the API exports a standard UNIX file descriptor which may be integerated cleanly into custom main loops." -subpackages="$pkgname-devel" +libasyncns-devel_package() { + depends="libasyncns>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libasyncns_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libatasmart/libatasmart-devel.template b/srcpkgs/libatasmart/libatasmart-devel.template deleted file mode 100644 index edde1e3ae8..0000000000 --- a/srcpkgs/libatasmart/libatasmart-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libatasmart-devel'. -# -depends="libudev-devel libatasmart-${version}_${revision}" -short_desc="${sourcepkg} development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libatasmart/template b/srcpkgs/libatasmart/template index a7e2c530ac..fdbc475c3d 100644 --- a/srcpkgs/libatasmart/template +++ b/srcpkgs/libatasmart/template @@ -1,16 +1,30 @@ # Template file for 'libatasmart' pkgname=libatasmart version=0.17 -revision=6 +revision=8 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config libudev-devel>=183" -subpackages="$pkgname-devel" +hostmakedepends="pkg-config" +makedepends="libudev-devel>=183" short_desc="ATA S.M.A.R.T. Reading and Parsing Library" homepage="http://0pointer.de/blog/projects/being-smart.html" license="LGPL-2.1" maintainer="Juan RP " distfiles="http://0pointer.de/public/$pkgname-$version.tar.gz" checksum=2d62a11274f32cde2f074adef9ceb662bf205618dfc8f8e74b9be6a8b1ed5ffd -long_desc=" - ${short_desc}" + +libatasmart-devel_package() { + depends="libudev-devel libatasmart-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libatasmart_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libbluray/libbluray-devel.template b/srcpkgs/libbluray/libbluray-devel.template deleted file mode 100644 index a86bacefbc..0000000000 --- a/srcpkgs/libbluray/libbluray-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libbluray-devel'. -# -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libbluray/template b/srcpkgs/libbluray/template index fd86ab1b6c..a0c445bdb7 100644 --- a/srcpkgs/libbluray/template +++ b/srcpkgs/libbluray/template @@ -1,14 +1,29 @@ # Template file for 'libbluray' pkgname=libbluray version=0.2.3 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static --disable-bdjava" -makedepends="pkg-config libxml2-devel" -subpackages="${pkgname}-devel" +hostmakedepends="pkg-config" +makedepends="libxml2-devel" short_desc="Library to access Blu-Ray disks for video playback" maintainer="Juan RP " homepage="http://www.videolan.org/developers/libbluray.html" license="LGPL-2.1" distfiles="ftp://ftp.videolan.org/pub/videolan/$pkgname/$version/$pkgname-$version.tar.bz2" checksum=2c65cfb02aeec31721f9ea65ee2c085a9bfe163e99dd01b52ccb3f53ba205eea + +libbluray-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libbluray_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libbsd/libbsd-devel.template b/srcpkgs/libbsd/libbsd-devel.template deleted file mode 100644 index d5a084cecd..0000000000 --- a/srcpkgs/libbsd/libbsd-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libbsd-devel'. -# -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove "usr/lib/*.a" usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libbsd/template b/srcpkgs/libbsd/template index da4763e491..74f2d0089d 100644 --- a/srcpkgs/libbsd/template +++ b/srcpkgs/libbsd/template @@ -3,7 +3,6 @@ pkgname=libbsd version=0.4.2 revision=1 build_style=gnu-configure -subpackages="${pkgname}-devel" short_desc="Provides useful functions commonly found on BSD system" maintainer="Juan RP " homepage="http://libbsd.freedesktop.org/wiki/" @@ -15,3 +14,20 @@ long_desc=" lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project." + +libbsd-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} + +libbsd_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libburn/cdrskin.template b/srcpkgs/libburn/cdrskin.template deleted file mode 100644 index 49c704b27a..0000000000 --- a/srcpkgs/libburn/cdrskin.template +++ /dev/null @@ -1,8 +0,0 @@ -# Template file for 'cdrskin'. -# -short_desc="Command line CD/DVD/BD writing tool" - -do_install() { - vmove usr/bin usr - vmove usr/share usr -} diff --git a/srcpkgs/libburn/libburn-devel.template b/srcpkgs/libburn/libburn-devel.template deleted file mode 100644 index f93e2f3182..0000000000 --- a/srcpkgs/libburn/libburn-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libburn-devel'. -# -noarch=yes -depends="glibc-devel libburn>=$version" -short_desc="${sourcepkg} development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libburn/template b/srcpkgs/libburn/template index c58c3023c1..23fd629e7c 100644 --- a/srcpkgs/libburn/template +++ b/srcpkgs/libburn/template @@ -1,13 +1,35 @@ # Template file for 'libburn' pkgname=libburn version=1.2.6 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static" -subpackages="cdrskin $pkgname-devel" short_desc="Library for reading, mastering and writing optical discs" maintainer="Juan RP " license="GPL-2" homepage="http://www.libburnia-project.org" distfiles="http://files.libburnia-project.org/releases/$pkgname-${version}.tar.gz" checksum=7b99a3036834c18259a59293b2aab37892550bd1d19a8a010fa338379555188f + +cdrskin_package() { + short_desc="Command line CD/DVD/BD writing tool" + pkg_install() { + vmove usr/bin + vmove usr/share + } +} + +libburn-devel_package() { + depends="libburn>=$version" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libburn_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcaca/libcaca-devel.template b/srcpkgs/libcaca/libcaca-devel.template deleted file mode 100644 index 12a9aace8b..0000000000 --- a/srcpkgs/libcaca/libcaca-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libcaca-devel'. -# -depends="libcaca>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/bin/caca-config usr/bin - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/man/man1/caca-config.1 usr/share/man/man1 -} diff --git a/srcpkgs/libcaca/template b/srcpkgs/libcaca/template index 286bee50f8..a4e0e9e479 100644 --- a/srcpkgs/libcaca/template +++ b/srcpkgs/libcaca/template @@ -3,7 +3,6 @@ pkgname=libcaca version=0.99.beta18 revision=3 build_style=gnu-configure -subpackages="${pkgname}-devel" short_desc="Graphics library that outputs text instead of pixels" maintainer="pancake " makedepends="ncurses-devel" @@ -19,3 +18,21 @@ if [ "$CROSS_BUILD" ]; then autoreconf -fi } fi + +libcaca-devel_package() { + depends="libcaca>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/bin/caca-config + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share/man/man1/caca-config.1 + } +} + +libcaca_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcanberra/libcanberra-devel.template b/srcpkgs/libcanberra/libcanberra-devel.template deleted file mode 100644 index dc53117e18..0000000000 --- a/srcpkgs/libcanberra/libcanberra-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libcanberra-devel'. -# -noarch=yes -depends="gtk+-devel gtk+3-devel ${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 - vmove usr/share/gtk-doc usr/share - vmove usr/share/vala usr/share -} diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template index 2c0733ffd8..fef3369384 100644 --- a/srcpkgs/libcanberra/template +++ b/srcpkgs/libcanberra/template @@ -1,7 +1,7 @@ # Template build file for 'libcanberra'. pkgname=libcanberra version=0.30 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-alsa --enable-null --enable-gstreamer --disable-oss --with-builtin=dso --disable-lynx @@ -9,7 +9,6 @@ configure_args="--enable-alsa --enable-null makedepends="pkg-config gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel libudev-devel>=183 vala-devel" -subpackages="$pkgname-devel" short_desc="XDG Sound Theme and Name Specification library implementation" maintainer="Juan RP " homepage="http://0pointer.de/lennart/projects/libcanberra/" @@ -27,3 +26,20 @@ long_desc=" from Gtk+ applications 3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to trigger input feedback event sounds" + +libcanberra-devel_package() { + depends="gtk+-devel gtk+3-devel ${sourcepkg}-${version}_${revision}" + short_desc="${sourcepkg} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + vmove usr/share/vala + } +} + +libcanberra_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcap-ng/libcap-ng-devel.template b/srcpkgs/libcap-ng/libcap-ng-devel.template deleted file mode 100644 index 88ab321a57..0000000000 --- a/srcpkgs/libcap-ng/libcap-ng-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libcap-ng-devel'. -# -depends="glibc-devel libcap-ng>=${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/pkgconfig usr/lib - vmove "usr/lib/*.a" usr/lib - vmove usr/share/man/man3 usr/share/man - vmove usr/share/aclocal usr/share -} diff --git a/srcpkgs/libcap-ng/libcap-ng-progs.template b/srcpkgs/libcap-ng/libcap-ng-progs.template deleted file mode 100644 index 4e52680d7f..0000000000 --- a/srcpkgs/libcap-ng/libcap-ng-progs.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libcap-ng-progs'. -# -short_desc="${sourcepkg} utilities" -long_desc="${long_desc} - - This package contains binary utilities provided by the ${sourcepkg} package." - -do_install() { - vmove usr/bin usr - vmove usr/share usr -} diff --git a/srcpkgs/libcap-ng/libcap-ng-python.template b/srcpkgs/libcap-ng/libcap-ng-python.template deleted file mode 100644 index 2bd481d4db..0000000000 --- a/srcpkgs/libcap-ng/libcap-ng-python.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libcap-ng-python'. -# -depends="python" -short_desc="${sourcepkg} python bindings" -long_desc="${long_desc} - - This package contains the python language bindings." - -pycompile_module="capng" - -do_install() { - vmove "usr/lib/python*" usr/lib/python -} diff --git a/srcpkgs/libcap-ng/template b/srcpkgs/libcap-ng/template index 7c8cc34aff..67ab9923d4 100644 --- a/srcpkgs/libcap-ng/template +++ b/srcpkgs/libcap-ng/template @@ -1,9 +1,8 @@ # Template file for 'libcap-ng' pkgname=libcap-ng version=0.7.1 -revision=1 +revision=2 build_style=gnu-configure -subpackages="$pkgname-devel $pkgname-progs $pkgname-python" makedepends="python-devel swig" short_desc="An alternate POSIX capabilities library" maintainer="Juan RP " @@ -19,3 +18,38 @@ long_desc=" The libcap-ng library is intended to make programming with posix capabilities much easier than the traditional libcap library." + +libcap-ng-devel_package() { + depends="libcap-ng>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share/man/man3 + vmove usr/share/aclocal + } +} + +libcap-ng-progs_package() { + short_desc+=" -- utilities" + pkg_install() { + vmove usr/bin + vmove usr/share + } +} + +libcap-ng-python_package() { + short_desc+=" -- python bindings" + depends="python" + pycompile_module="capng" + pkg_install() { + vmove "usr/lib/python*" + } +} + +libcap-ng_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcddb/libcddb-devel.template b/srcpkgs/libcddb/libcddb-devel.template deleted file mode 100644 index 3e7b606142..0000000000 --- a/srcpkgs/libcddb/libcddb-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libcddb-devel'. -# -depends="glibc-devel libcddb" -short_desc="${short_desc} (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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libcddb/template b/srcpkgs/libcddb/template index 79c1568161..639022585f 100644 --- a/srcpkgs/libcddb/template +++ b/srcpkgs/libcddb/template @@ -1,14 +1,14 @@ # Template file for 'libcddb' pkgname=libcddb version=1.3.2 -revision=4 -distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" +revision=5 build_style=gnu-configure -makedepends="pkg-config" +hostmakedepends="pkg-config" short_desc="Library to access data on a CDDB server" homepage="http://libcddb.sourceforge.net/" license="LGPL-2.1" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=68e9b53918b9bea727fb2db78936526671c039dcd7396cb82ecd6854e866048c long_desc=" Libcddb is a library that implements the different protocols (CDDBP, @@ -16,4 +16,18 @@ long_desc=" tries to be as cross-platform as possible. The initial library will have a C API." -subpackages="$pkgname-devel" +libcddb-devel_package() { + depends="libcddb>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libcddb_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcdio/libcdio-devel.template b/srcpkgs/libcdio/libcdio-devel.template deleted file mode 100644 index d8c7b76261..0000000000 --- a/srcpkgs/libcdio/libcdio-devel.template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'libcdio-devel'. -# -depends="ncurses-devel libcddb-devel libcdio" -short_desc="${short_desc} (development files)" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/info ${DESTDIR}/usr/share -} diff --git a/srcpkgs/libcdio/template b/srcpkgs/libcdio/template index 872c4ef7ab..2565fbeb47 100644 --- a/srcpkgs/libcdio/template +++ b/srcpkgs/libcdio/template @@ -1,14 +1,15 @@ # Template file for 'libcdio' pkgname=libcdio version=0.83 -homepage="http://www.gnu.org/software/libcdio/" -distfiles="http://ftp.gnu.org/gnu/libcdio/$pkgname-$version.tar.gz" build_style=gnu-configure -revision=2 -makedepends="pkg-config ncurses-devel libcddb-devel" +revision=3 +hostmakedepends="pkg-config" +makedepends="ncurses-devel libcddb-devel" short_desc="CD-ROM access library" maintainer="Juan RP " license="GPL-3" +homepage="http://www.gnu.org/software/libcdio/" +distfiles="http://ftp.gnu.org/gnu/libcdio/$pkgname-$version.tar.gz" checksum=235017e3eccb86424f9c108f2c5d5fca62630bda8c9dcf23b425ba9c5e2482c0 long_desc=" This library is to encapsulate CD-ROM reading and @@ -19,4 +20,19 @@ long_desc=" so applications that use this library also have the ability to read disc images as though they were CDs." -subpackages="$pkgname-devel" +libcdio-devel_package() { + depends="libcddb-devel libcdio>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} + +libcdio_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcec/cec-client.template b/srcpkgs/libcec/cec-client.template deleted file mode 100644 index 3a6dd2b947..0000000000 --- a/srcpkgs/libcec/cec-client.template +++ /dev/null @@ -1,8 +0,0 @@ -# Template file for 'cec-client'. -# -depends="libcec>=${version}" -short_desc="${short_desc} -- client tool" - -do_install() { - vmove usr/bin usr -} diff --git a/srcpkgs/libcec/libcec-devel.template b/srcpkgs/libcec/libcec-devel.template deleted file mode 100644 index 8b40372e72..0000000000 --- a/srcpkgs/libcec/libcec-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libcec-devel'. -# -depends="libcec>=$version" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libcec/template b/srcpkgs/libcec/template index cb75c016f5..727b78847c 100644 --- a/srcpkgs/libcec/template +++ b/srcpkgs/libcec/template @@ -3,7 +3,6 @@ pkgname=libcec version=2.1.1 revision=1 wrksrc="${pkgname}-${pkgname}-${version}" -subpackages="cec-client ${pkgname}-devel" short_desc="USB CEC Adapter communication Library" maintainer="Juan RP " homepage="https://github.com/Pulse-Eight/libcec" @@ -15,7 +14,7 @@ hostmakedepends="automake pkg-config" makedepends="libudev-devel lockdev-devel" if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then - makedepends="${makedepends} rpi-firmware" + makedepends+=" rpi-firmware" fi pre_configure() { @@ -23,14 +22,16 @@ pre_configure() { } do_configure() { + local _rpiargs + if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then _rpiargs="--enable-rpi" if [ "$XBPS_CROSS_BASE" ]; then - _rpiargs="${_rpiargs} --with-rpi-include-path=${XBPS_CROSS_BASE}/opt/vc/include" - _rpiargs="${_rpiargs} --with-rpi-lib-path=${XBPS_CROSS_BASE}/opt/vc/lib" + _rpiargs+=" --with-rpi-include-path=${XBPS_CROSS_BASE}/opt/vc/include" + _rpiargs+=" --with-rpi-lib-path=${XBPS_CROSS_BASE}/opt/vc/lib" else - _rpiargs="${_rpiargs} --with-rpi-include-path=/opt/vc/include" - _rpiargs="${_rpiargs} --with-rpi-lib-path=/opt/vc/lib" + _rpiargs+=" --with-rpi-include-path=/opt/vc/include" + _rpiargs+=" --with-rpi-lib-path=/opt/vc/lib" fi fi ./configure ${CONFIGURE_SHARED_ARGS} ${_rpiargs} LDFLAGS= @@ -43,3 +44,17 @@ do_build() { do_install() { make DESTDIR=${DESTDIR} install } + +cec-client_package() { + depends="libcec>=${version}" + short_desc="${short_desc} -- client tool" + pkg_install() { + vmove usr/bin + } +} + +libcec_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcgroup/libcgroup-devel.template b/srcpkgs/libcgroup/libcgroup-devel.template deleted file mode 100644 index f8a525453c..0000000000 --- a/srcpkgs/libcgroup/libcgroup-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libcgroup-devel'. -# -noarch=yes -depends="libcgroup>=${version}" -short_desc="${short_desc} - 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/libcgroup/template b/srcpkgs/libcgroup/template index 39f179a237..d97dba1de2 100644 --- a/srcpkgs/libcgroup/template +++ b/srcpkgs/libcgroup/template @@ -1,11 +1,11 @@ # Template file for 'libcgroup' pkgname=libcgroup version=0.38 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-pam-module-dir=/usr/lib/security" -subpackages="$pkgname-devel" -makedepends="flex pam-devel" +hostmakedepends="flex" +makedepends="pam-devel" short_desc="Library that abstracts the control group file system in Linux" maintainer="Juan RP " license="LGPL-2.1" @@ -15,3 +15,22 @@ checksum=5d36d1a48b95f62fe9fcdf74a5a4089512e5e43e6011aa1504fd6f2a0909867f long_desc=" ${pkgname} aims to provide programmers easily usable APIs to use the control group file system." + +if [ "$CROSS_BUILD" ]; then + makedepends+=" libfl-devel" +fi + +libcgroup-devel_package() { + depends="libcgroup>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libcgroup_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libchamplain/libchamplain-devel.template b/srcpkgs/libchamplain/libchamplain-devel.template deleted file mode 100644 index 322c939be4..0000000000 --- a/srcpkgs/libchamplain/libchamplain-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libchamplain-devel'. -# -depends="libsoup-gnome-devel gtk+3-devel>=3.8 clutter-gtk-devel>=1.4.4 -json-glib-devel sqlite-devel libchamplain>=$version" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/share/gir-1.0 usr/share - vmove usr/share/gtk-doc usr/share - vmove usr/share/vala usr/share - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libchamplain/template b/srcpkgs/libchamplain/template index d69ec2a9aa..e45eab1a61 100644 --- a/srcpkgs/libchamplain/template +++ b/srcpkgs/libchamplain/template @@ -3,7 +3,6 @@ pkgname=libchamplain version=0.12.3 revision=3 build_style=gnu-configure -subpackages="$pkgname-devel" configure_args="--disable-debug --disable-static" hostmakedepends="pkg-config intltool gobject-introspection" makedepends="libsoup-gnome-devel gtk+3-devel>=3.8 cogl-devel>=1.14 @@ -14,3 +13,22 @@ homepage="http://projects.gnome.org/libchamplain/" license="LGPL-2.1" distfiles="${GNOME_SITE}/$pkgname/0.12/$pkgname-$version.tar.xz" checksum=3d03d4e6892305a3b5b78e0718e486f6a13271df33d82383fd8361ef71f3e658 + +libchamplain-devel_package() { + depends="libsoup-gnome-devel gtk+3-devel>=3.8 clutter-gtk-devel>=1.4.4 + json-glib-devel sqlite-devel libchamplain>=$version" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + vmove usr/share/vala + vmove usr/lib/pkgconfig + } +} + +libchamplain_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libconfig/libconfig++-devel.template b/srcpkgs/libconfig/libconfig++-devel.template deleted file mode 100644 index e54af542f7..0000000000 --- a/srcpkgs/libconfig/libconfig++-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libconfig++-devel'. -# -depends="libconfig++>=${version}" -short_desc="C++ Configuration File Library -- development files" - -do_install() { - vmove usr/include/libconfig.h++ usr/include - vmove usr/lib/pkgconfig/libconfig++.pc usr/lib/pkgconfig - vmove "usr/lib/libconfig++.a" usr/lib -} diff --git a/srcpkgs/libconfig/libconfig++.template b/srcpkgs/libconfig/libconfig++.template deleted file mode 100644 index e309f13e10..0000000000 --- a/srcpkgs/libconfig/libconfig++.template +++ /dev/null @@ -1,7 +0,0 @@ -# Template file for 'libconfig++'. -# -short_desc="C++ Configuration File Library" - -do_install() { - vmove "usr/lib/libconfig++.so*" usr/lib -} diff --git a/srcpkgs/libconfig/libconfig-devel.template b/srcpkgs/libconfig/libconfig-devel.template deleted file mode 100644 index 6823bdadaa..0000000000 --- a/srcpkgs/libconfig/libconfig-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libconfig-devel'. -# -depends="libconfig>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove "usr/lib/libconfig.a" usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libconfig/template b/srcpkgs/libconfig/template index cec9269197..5a67c77f1c 100644 --- a/srcpkgs/libconfig/template +++ b/srcpkgs/libconfig/template @@ -3,10 +3,43 @@ pkgname=libconfig version=1.4.8 revision=1 build_style=gnu-configure -subpackages="${pkgname}++ ${pkgname}++-devel ${pkgname}-devel" short_desc="C Configuration File Library" maintainer="Juan RP " homepage="http://hyperrealm.com/libconfig/libconfig.html" license="LGPL-2.1" distfiles="http://www.hyperrealm.com/libconfig/${pkgname}-${version}.tar.gz" checksum=18b1509fbf438a8c7f9b0af32284e458189b5f6dfd044f898926109f3c3c01ed + +libconfig++_package() { + short_desc="C++ Configuration File Library" + pkg_install() { + vmove "usr/lib/libconfig++.so*" + } +} + +libconfig++-devel_package() { + depends="libconfig++>=${version}" + short_desc="C++ Configuration File Library -- development files" + pkg_install() { + vmove usr/include/libconfig.h++ + vmove usr/lib/pkgconfig/libconfig++.pc + vmove "usr/lib/libconfig++.a" + } +} + +libconfig-devel_package() { + depends="libconfig>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/libconfig.a" + vmove usr/share + } +} + +libconfig_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcprops/libcprops-devel.template b/srcpkgs/libcprops/libcprops-devel.template deleted file mode 100644 index 53e7e7f928..0000000000 --- a/srcpkgs/libcprops/libcprops-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'cprops-devel'. -# -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libcprops/template b/srcpkgs/libcprops/template index 6e78ade6f2..aaf7123f66 100644 --- a/srcpkgs/libcprops/template +++ b/srcpkgs/libcprops/template @@ -4,11 +4,30 @@ version=0.1.12 revision=1 build_style=gnu-configure configure_args="--disable-cpsp --disable-cpsvc" -subpackages="${pkgname}-devel" -makedepends="which flex makedepend" +hostmakedepends="which flex makedepend" short_desc="C prototyping tools" maintainer="Juan RP " homepage="http://cprops.sourceforge.net/" license="LGPL-2.1" distfiles="${SOURCEFORGE_SITE}/cprops/${pkgname}-${version}.tar.bz2" checksum=3737772d2718a2c550adf4ca92cc492e613aa9200aae2bbaaf128d90f4ef67f2 + +if [ "$CROSS_BUILD" ]; then + makedepends="libfl-devel" +fi + +libcprops-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/share + } +} + +libcprops_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcroco/libcroco-devel.template b/srcpkgs/libcroco/libcroco-devel.template deleted file mode 100644 index a5d85be2ef..0000000000 --- a/srcpkgs/libcroco/libcroco-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libcroco-devel'. -# -depends="glib-devel libxml2-devel ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/share usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove "usr/bin/croco-*config" usr/bin -} diff --git a/srcpkgs/libcroco/template b/srcpkgs/libcroco/template index 5a27f4e99e..258a17004e 100644 --- a/srcpkgs/libcroco/template +++ b/srcpkgs/libcroco/template @@ -2,7 +2,6 @@ pkgname=libcroco version=0.6.8 revision=2 -subpackages="$pkgname-devel" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libglib-devel libxml2-devel" @@ -17,3 +16,21 @@ long_desc=" parsing and manipulation toolkit. It provides a Simple Api for CSS and Cascading Style Sheet Object Model parser, a CSS2 selection engine, and an XML/CSS layout/rendering engine." + +libcroco-devel_package() { + depends="glib-devel libxml2-devel ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove "usr/bin/croco-*config" + } +} + +libcroco_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcryptui/libcryptui-devel.template b/srcpkgs/libcryptui/libcryptui-devel.template deleted file mode 100644 index 7ef9d2c9c8..0000000000 --- a/srcpkgs/libcryptui/libcryptui-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libcryptui-devel'. -# -depends="gtk+3-devel dbus-glib-devel libcryptui>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gir-1.0 usr/share - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template index fd38eace89..07742ff8b9 100644 --- a/srcpkgs/libcryptui/template +++ b/srcpkgs/libcryptui/template @@ -2,15 +2,12 @@ pkgname=libcryptui version=3.8.0 revision=1 -subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--disable-static --disable-update-mime-database --disable-schemas-compile" -depends="hicolor-icon-theme libgnome-keyring>=3.8" hostmakedepends="pkg-config intltool gobject-introspection" makedepends="libSM-devel dbus-glib-devel gtk+3-devel>=3.8 gpgme-devel - libnotify-devel libgnome-keyring-devel>=3.8" -fulldepends="gnupg" + libnotify-devel libgnome-keyring-devel>=3.8 gnupg" short_desc="GNOME Interface components for OpenPGP" maintainer="Juan RP " homepage="http://www.gnome.org" @@ -20,3 +17,21 @@ checksum=10eed96e33b6d7286795a7c678a5655a86ae099fb98d1f7211aa28aa636c0837 long_desc=" $pkgname is a library used for prompting for PGP keys. It's likely that this library will become deprecated in the near future." + +libcryptui-devel_package() { + depends="gtk+3-devel dbus-glib-devel libcryptui>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + } +} + +libcryptui_package() { + depends="hicolor-icon-theme libgnome-keyring>=3.8 gnupg" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libcss/libcss-devel.template b/srcpkgs/libcss/libcss-devel.template deleted file mode 100644 index cfbad75607..0000000000 --- a/srcpkgs/libcss/libcss-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libcss-devel'. -# -depends="libcss>=0.1.2" -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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libcss/template b/srcpkgs/libcss/template index bd7b1f09ee..541c584280 100644 --- a/srcpkgs/libcss/template +++ b/srcpkgs/libcss/template @@ -1,14 +1,15 @@ # Template build file for 'libcss'. pkgname=libcss version=0.1.2 -homepage="http://www.netsurf-browser.org" -distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" -makedepends="pkg-config perl libparserutils-devel libwapcaplet-devel" -revision=1 +revision=2 +hostmakedepends="pkg-config perl" +makedepends="libparserutils-devel libwapcaplet-devel" short_desc="CSS parser and selection engine, written in C." maintainer="davehome " -checksum=92c112a059bc5ae490392439401005b47ca5c270f891f6317b64aac738ae1f5e license="MIT" +homepage="http://www.netsurf-browser.org" +distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" +checksum=92c112a059bc5ae490392439401005b47ca5c270f891f6317b64aac738ae1f5e long_desc=" LibCSS is a CSS (Cascading Style Sheet) parser and selection engine, written in C. It was developed as part of the NetSurf project and is @@ -23,9 +24,6 @@ long_desc=" Portable Shared library" -subpackages="${pkgname}-devel" - - do_build() { make ${makejobs} COMPONENT_TYPE=lib-shared make ${makejobs} COMPONENT_TYPE=lib-static @@ -39,3 +37,19 @@ do_install() { vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}" } + +libcss-devel_package() { + depends="libcss>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libcss_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libdca/libdca-devel.template b/srcpkgs/libdca/libdca-devel.template deleted file mode 100644 index e8d6f00151..0000000000 --- a/srcpkgs/libdca/libdca-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libdca-devel'. -# -depends="glibc-devel libdca" -short_desc="${short_desc} (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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libdca/template b/srcpkgs/libdca/template index 2acefc7eb8..8e68520236 100644 --- a/srcpkgs/libdca/template +++ b/srcpkgs/libdca/template @@ -1,25 +1,38 @@ # Template file for 'libdca' pkgname=libdca version=0.0.5 -revision=5 -distfiles="http://download.videolan.org/pub/videolan/$pkgname/$version/$pkgname-$version.tar.bz2" +revision=6 build_style=gnu-configure short_desc="DTS Coherent Acoustics decoder" homepage="http://www.videolan.org/developers/libdca.html" license="GPL-2" maintainer="Juan RP " +distfiles="http://download.videolan.org/pub/videolan/$pkgname/$version/$pkgname-$version.tar.bz2" checksum=dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642 long_desc=" libdca is a free library for decoding DTS Coherent Acoustics streams. The DTS Coherent Acoustics standard is used in a variety of applications, including DVD, DTS audio CD and radio broadcasting." -subpackages="$pkgname-devel" - -post_install() -{ +post_install() { # Fix manpage links. cd ${DESTDIR}/usr/share/man/man1 ln -sf dcadec.1 dtsdec.1 ln -sf extract_dca.1 extract_dts.1 } + +libdca-devel_package() { + depends="libdca>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libdca_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libdiscid/libdiscid-devel.template b/srcpkgs/libdiscid/libdiscid-devel.template deleted file mode 100644 index 6c4dafc26c..0000000000 --- a/srcpkgs/libdiscid/libdiscid-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libasyncns-devel'. -# -depends="glibc-devel libdiscid" -short_desc="${short_desc} (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/libdiscid/template b/srcpkgs/libdiscid/template index b965bfbd09..9bd5b19670 100644 --- a/srcpkgs/libdiscid/template +++ b/srcpkgs/libdiscid/template @@ -1,14 +1,14 @@ # Template file for 'libdiscid' pkgname=libdiscid version=0.2.2 -homepage="http://musicbrainz.org/doc/libdiscid" -distfiles="http://users.musicbrainz.org/~matt/$pkgname-$version.tar.gz" +revision=3 build_style=gnu-configure configure_args="--disable-static" -revision=2 short_desc="A Library for creating MusicBrainz DiscIDs" maintainer="Juan RP " license="GPL-2" +homepage="http://musicbrainz.org/doc/libdiscid" +distfiles="http://users.musicbrainz.org/~matt/$pkgname-$version.tar.gz" checksum=974b5d5ab23fb45910a4fe171045a22a749cd8cb9833168f7178839993a58402 long_desc=" libdiscid is a C library for creating MusicBrainz DiscIDs from audio CDs. @@ -16,4 +16,17 @@ long_desc=" can be used to lookup the CD at MusicBrainz. Additionally, it provides a submission URL for adding the DiscID to the database." -subpackages="$pkgname-devel" +libdiscid-devel_package() { + depends="libdiscid>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libdiscid_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libdmapsharing/libdmapsharing-devel.template b/srcpkgs/libdmapsharing/libdmapsharing-devel.template deleted file mode 100644 index 17d1b5a917..0000000000 --- a/srcpkgs/libdmapsharing/libdmapsharing-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'lidmapsharing-devel'. -# -depends="libsoup-devel libgee-devel libdmapsharing>=2.9.15" -short_desc="${short_desc} (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 - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libdmapsharing/template b/srcpkgs/libdmapsharing/template index 3f7631220c..3525c0e3fb 100644 --- a/srcpkgs/libdmapsharing/template +++ b/srcpkgs/libdmapsharing/template @@ -1,15 +1,17 @@ # Template file for 'libdmapsharing' pkgname=libdmapsharing version=2.9.15 -homepage="http://www.flyn.org/projects/libdmapsharing/index.html" -distfiles="http://www.flyn.org/projects/libdmapsharing/$pkgname-$version.tar.gz" +revision=1 build_style=gnu-configure configure_args="--with-mdns=avahi" -makedepends="pkg-config gtk+-devel avahi-glib-libs-devel libsoup-devel gst-plugins-base-devel libgee-devel" -revision=1 +hostmakedepends="pkg-config" +makedepends="gtk+-devel avahi-glib-libs-devel libsoup-devel + gst-plugins-base-devel libgee-devel" short_desc="A library that implements the DMAP family of protocols" maintainer="Juan RP " license="LGPL-2.1" +homepage="http://www.flyn.org/projects/libdmapsharing/index.html" +distfiles="http://www.flyn.org/projects/libdmapsharing/$pkgname-$version.tar.gz" checksum=3f9ba35058fe7c8df06a893807a455e5328c11ebaee58019373f9310cc3930fa long_desc=" Libdmapsharing is a library you may use to access, share and control the @@ -17,5 +19,18 @@ long_desc=" detects audio AirPlay services; coupled with the AirPlay support in PulseAudio or GStreamer, this can allow an application to stream audio to an AirPlay." -subpackages="$pkgname-devel" +libdmapsharing-devel_package() { + depends="libsoup-devel libgee-devel libdmapsharing>=2.9.15" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + } +} +libdmapsharing_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libdmx/libdmx-devel.template b/srcpkgs/libdmx/libdmx-devel.template deleted file mode 100644 index 35762f553b..0000000000 --- a/srcpkgs/libdmx/libdmx-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libdmx-devel'. -# -depends="dmxproto libXext-devel libdmx>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libdmx/template b/srcpkgs/libdmx/template index 0ac872f4ca..bc08e4b904 100644 --- a/srcpkgs/libdmx/template +++ b/srcpkgs/libdmx/template @@ -11,4 +11,20 @@ license="MIT" homepage="${XORG_SITE}" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=a7870b648a8768d65432af76dd11581ff69f3955118540d5967eb1eef43838ba -subpackages="$pkgname-devel" + +libdmx-devel_package() { + depends="dmxproto libXext-devel libdmx>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libdmx_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libdom/libdom-devel.template b/srcpkgs/libdom/libdom-devel.template deleted file mode 100644 index dfc327f5b8..0000000000 --- a/srcpkgs/libdom/libdom-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libdom-devel'. -# -depends="libdom" -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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libdom/template b/srcpkgs/libdom/template index e042b11a69..f708a817ec 100644 --- a/srcpkgs/libdom/template +++ b/srcpkgs/libdom/template @@ -2,20 +2,19 @@ pkgname=libdom _svnrev=13951 version=20120706.${_svnrev} -homepage="http://www.netsurf-browser.org" -makedepends="pkg-config perl subversion libxml2-devel libparserutils-devel libwapcaplet-devel libhubbub-devel" revision=1 +hostmakedepends="pkg-config perl subversion" +makedepends="libxml2-devel libparserutils-devel libwapcaplet-devel libhubbub-devel" short_desc="Implementation of the W3C DOM, written in C." maintainer="davehome " license="MIT" +homepage="http://www.netsurf-browser.org" long_desc=" LibDOM is an implementation of the W3C DOM, written in C. It is currently in development for use with NetSurf and is intended to be suitable for use in other projects too. For further details, see the readme." -subpackages="${pkgname}-devel" - nofetch=yes noextract=yes @@ -38,3 +37,19 @@ do_install() { vinstall "${wrksrc}/COPYING" 644 "usr/share/license/${pkgname}" } + +libdom-devel_package() { + depends="libdom>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libdom_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libdvbpsi/libdvbpsi-devel.template b/srcpkgs/libdvbpsi/libdvbpsi-devel.template deleted file mode 100644 index 20298ace92..0000000000 --- a/srcpkgs/libdvbpsi/libdvbpsi-devel.template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'libdvbpsi-devel'. -# -depends="glibc-devel libdvbpsi" -short_desc="${short_desc} (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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib - #mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libdvbpsi/template b/srcpkgs/libdvbpsi/template index 29108ee0fb..7c3a31a951 100644 --- a/srcpkgs/libdvbpsi/template +++ b/srcpkgs/libdvbpsi/template @@ -1,14 +1,14 @@ # Template file for 'libdvbpsi' pkgname=libdvbpsi version=0.1.6 -revision=4 +revision=5 wrksrc="${pkgname}5-${version}" -distfiles="http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-$version.tar.bz2" build_style=gnu-configure short_desc="PSI decoder and generator library for MPEG2 and DVB streams" homepage="http://www.videolan.org/developers/libdvbpsi.html" license="LGPL-2.1" maintainer="Juan RP " +distfiles="http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-$version.tar.bz2" checksum=e875210131805ca9a67f190a86dd0c9fd87d6addcb7405e8584620837af805b8 long_desc=" lbdvbpsi is a simple library designed for decoding and generation of MPEG TS @@ -29,4 +29,17 @@ long_desc=" DVB stream. The library aims at making it easy to decode PSI tables (such as PAT, PMT etc.) present in a TS/DVB stream." -subpackages="$pkgname-devel" +libdvbpsi-devel_package() { + depends="libdvbpsi>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +libdvbpsi_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libdvdcss/libdvdcss-devel.template b/srcpkgs/libdvdcss/libdvdcss-devel.template deleted file mode 100644 index 424312b69e..0000000000 --- a/srcpkgs/libdvdcss/libdvdcss-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libdvdcss-devel'. -# -depends="glibc-devel libdvdcss>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libdvdcss/template b/srcpkgs/libdvdcss/template index 037e58404e..26dc1d3fe0 100644 --- a/srcpkgs/libdvdcss/template +++ b/srcpkgs/libdvdcss/template @@ -1,9 +1,8 @@ # Template file for 'libdvdcss' pkgname=libdvdcss version=1.2.13 -revision=1 +revision=2 build_style=gnu-configure -subpackages="$pkgname-devel" short_desc="Simple library designed for accessing DVDs" maintainer="Juan RP " license="GPL-2" @@ -13,3 +12,19 @@ checksum=84f1bba6cfef1df87f774fceaefc8e73c4cda32e8f6700b224ad0acb5511ba2c long_desc=" libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption." + +libdvdcss-devel_package() { + depends="libdvdcss>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libdvdcss_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libdvdnav/libdvdnav-devel.template b/srcpkgs/libdvdnav/libdvdnav-devel.template deleted file mode 100644 index 4e4d23a8b2..0000000000 --- a/srcpkgs/libdvdnav/libdvdnav-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libdvdread-devel'. -# -depends="libdvdread-devel libdvdnav" -short_desc="${short_desc} (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/bin ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libdvdnav/template b/srcpkgs/libdvdnav/template index cb5a536cd2..f19ec7cba9 100644 --- a/srcpkgs/libdvdnav/template +++ b/srcpkgs/libdvdnav/template @@ -1,14 +1,15 @@ # Template file for 'libdvdnav' pkgname=libdvdnav version=4.2.0 -homepage="http://dvdnav.mplayerhq.hu/" -distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.bz2" +revision=2 build_style=gnu-configure -makedepends="automake libdvdread-devel" -revision=1 +hostmakedepends="automake" +makedepends="libdvdread-devel" short_desc="Library to navigate DVDs" maintainer="Juan RP " license="GPL-2" +homepage="http://dvdnav.mplayerhq.hu/" +distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.bz2" checksum=8c971b08276c89ddcecd26fc44204460fd250dc57346f03476d3077188c47550 long_desc=" libdvdnav is a library that allows easy use of sophisticated DVD navigation @@ -21,8 +22,23 @@ long_desc=" The whole DVD virtual machine and internal playback states are completely encapsulated." -subpackages="$pkgname-devel" - pre_configure() { ./autogen.sh } + +libdvdnav-devel_package() { + depends="libdvdread-devel libdvdnav>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + } +} + +libdvdnav_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libdvdread/libdvdread-devel.template b/srcpkgs/libdvdread/libdvdread-devel.template deleted file mode 100644 index 65aad8ed02..0000000000 --- a/srcpkgs/libdvdread/libdvdread-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libdvdread-devel'. -# -depends="glibc-devel libdvdread" -short_desc="${short_desc} (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/bin ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libdvdread/template b/srcpkgs/libdvdread/template index 6949871ca5..e321222c50 100644 --- a/srcpkgs/libdvdread/template +++ b/srcpkgs/libdvdread/template @@ -1,21 +1,36 @@ # Template file for 'libdvdread' pkgname=libdvdread version=4.2.0 -homepage="http://dvdnav.mplayerhq.hu" -distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.bz2" +revision=2 build_style=gnu-configure -makedepends="automake" -revision=1 +hostmakedepends="automake" short_desc="DVD access library" maintainer="Juan RP " license="GPL-2" +homepage="http://dvdnav.mplayerhq.hu" +distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.bz2" checksum=0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097 long_desc=" libdvdread is a library that provides an interface to make life for programs that access DVDs a little easier." -subpackages="$pkgname-devel" - pre_configure() { ./autogen.sh } + +libdvdread-devel_package() { + depends="libdvdread>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + } +} + +libdvdread_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libebml/libebml-devel.template b/srcpkgs/libebml/libebml-devel.template deleted file mode 100644 index 1e3b2034c1..0000000000 --- a/srcpkgs/libebml/libebml-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libebml-devel'. -# -depends="glibc-devel libebml" -short_desc="${short_desc} (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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib - #mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libebml/template b/srcpkgs/libebml/template index b8969a506f..85714b6047 100644 --- a/srcpkgs/libebml/template +++ b/srcpkgs/libebml/template @@ -1,15 +1,14 @@ # Template file for 'libebml' pkgname=libebml version=1.2.2 -distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2" +revision=3 build_style=gnu-makefile build_wrksrc="make/linux" -make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr install" -revision=2 short_desc="Extensible Binary Meta Language library" maintainer="Juan RP " homepage="http://dl.matroska.org/downloads/libebml/" license="LGPL-2.1" +distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2" checksum=476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5 long_desc=" EBML, or Extensible Binary Meta-Language, is a simple XML like binary @@ -17,4 +16,21 @@ long_desc=" designed for use in the Matroska project, but the developers saw that EBML was very flexible and extensible." -subpackages="$pkgname-devel" +do_install() { + make prefix=${DESTDIR}/usr install +} + +libebml-devel_package() { + depends="libebml>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +libebml_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libee/libee-devel.template b/srcpkgs/libee/libee-devel.template deleted file mode 100644 index 4d21150720..0000000000 --- a/srcpkgs/libee/libee-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libee-devel'. -# -noarch=yes -depends="libestr-devel libee>=${version}" -short_desc="${short_desc} - 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/libee/template b/srcpkgs/libee/template index 058f799cea..ff1acb0a39 100644 --- a/srcpkgs/libee/template +++ b/srcpkgs/libee/template @@ -1,11 +1,11 @@ # Template file for 'libee' pkgname=libee version=0.4.0 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config libestr-devel" +hostmakedepends="pkg-config" +makedepends="libestr-devel" short_desc="Event expression library inspired by CEE" maintainer="Juan RP " license="LGPL-2.1" @@ -17,3 +17,18 @@ long_desc=" some CEE ideas." disable_parallel_build=yes + +libee-devel_package() { + depends="libestr-devel libee>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libee_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libepc/libepc-devel.template b/srcpkgs/libepc/libepc-devel.template deleted file mode 100644 index b249b78302..0000000000 --- a/srcpkgs/libepc/libepc-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libepc-devel'. -# -depends="gtk+3-devel avahi-glib-libs-devel libsoup-devel libepc" -short_desc="${short_desc} - development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -do_install() -{ - vmove usr/include usr - vmove usr/share/gtk-doc usr/share - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libepc/template b/srcpkgs/libepc/template index 63e2a3e610..99bb34791e 100644 --- a/srcpkgs/libepc/template +++ b/srcpkgs/libepc/template @@ -1,11 +1,10 @@ # Template file for 'libepc' pkgname=libepc version=0.4.4 +revision=2 build_style=gnu-configure -subpackages="$pkgname-devel" makedepends="pkg-config intltool gtk+3-devel libsoup-devel avahi-glib-libs-devel avahi-ui-libs-devel gnutls-devel>=3.1.5 libuuid-devel" -revision=2 short_desc="Easy Publish and Consume Library" maintainer="Juan RP " license="LGPL-2.1" @@ -22,3 +21,19 @@ long_desc=" You can use this library as a key/value store published to the network, using encryption, authentication and service discovery." + +libepc-devel_package() { + depends="gtk+3-devel avahi-glib-libs-devel libsoup-devel libepc>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/share/gtk-doc + vmove usr/lib/pkgconfig + } +} + +libepc_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/liberation-fonts-ttf/template b/srcpkgs/liberation-fonts-ttf/template index b1dcc8874d..7379e5f470 100644 --- a/srcpkgs/liberation-fonts-ttf/template +++ b/srcpkgs/liberation-fonts-ttf/template @@ -9,9 +9,7 @@ homepage="http://www.redhat.com/promo/fonts/" distfiles="https://fedorahosted.org/releases/l/i/liberation-fonts/${pkgname}-${version}.tar.gz" checksum=3b7214e7352b8e4990c71018031ecb0f40d6793f140d7a956d7345997c8c5100 -noarch=yes -font_dirs="/usr/share/fonts/TTF" -fulldepends="font-util xbps-triggers>=0.58" +makedepends="font-util xbps-triggers>=0.58" do_install() { vmkdir usr/share/fonts/TTF @@ -27,3 +25,12 @@ do_install() { vinstall LICENSE 644 usr/share/licenses/${pkgname} } + +liberation-fonts-ttf_package() { + depends="${makedepends}" + noarch="yes" + font_dirs="/usr/share/fonts/TTF" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libesmtp/libesmtp-devel.template b/srcpkgs/libesmtp/libesmtp-devel.template deleted file mode 100644 index 636a054597..0000000000 --- a/srcpkgs/libesmtp/libesmtp-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libesmtp-devel'. -# -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/bin/libesmtp-config usr/bin - vmove usr/include usr - vmove usr/lib/*.a usr/lib - vmove usr/lib/esmtp-plugins/*.a usr/lib/esmtp-plugins -} diff --git a/srcpkgs/libesmtp/template b/srcpkgs/libesmtp/template index ffad2d659e..94fa4709d5 100644 --- a/srcpkgs/libesmtp/template +++ b/srcpkgs/libesmtp/template @@ -1,12 +1,28 @@ # Template file for 'libesmtp' pkgname=libesmtp version=1.0.6 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure -short_desc="manage submission of emails using SMTP protocol" +short_desc="Manage submission of emails using SMTP protocol" maintainer="pancake " homepage="http://stafford.uklinux.net/libesmtp/" license="LGPL" distfiles="http://stafford.uklinux.net/libesmtp/${pkgname}-${version}.tar.bz2" checksum=d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b + +libesmtp-devel_package() { + depends="libesmtp>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/bin/libesmtp-config + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/esmtp-plugins/*.a" + } +} + +libesmtp_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libestr/libestr-devel.template b/srcpkgs/libestr/libestr-devel.template deleted file mode 100644 index 5161a32ab9..0000000000 --- a/srcpkgs/libestr/libestr-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libestr-devel'. -# -noarch=yes -depends="libestr>=${version}" -short_desc="${short_desc} - 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/libestr/template b/srcpkgs/libestr/template index 16e8a317e9..234e999c3e 100644 --- a/srcpkgs/libestr/template +++ b/srcpkgs/libestr/template @@ -1,8 +1,7 @@ # Template file for 'libestr' pkgname=libestr version=0.1.4 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static" short_desc="C library for string processing" @@ -13,3 +12,18 @@ distfiles="$homepage/files/download/$pkgname-$version.tar.gz" checksum=e30b05bc3091e2c35464d7ac736b2d4e5c054cc883e244c920b571e533de85e3 long_desc=" This package provides a C library with some essentials for string processing." + +libestr-devel_package() { + depends="libestr>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libestr_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libev/libev-devel.template b/srcpkgs/libev/libev-devel.template deleted file mode 100644 index cd16b7b7bb..0000000000 --- a/srcpkgs/libev/libev-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libdev-devel'. -# -depends="libev>=${version}" -short_desc="${short_desc} -- 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 - # Conflicts with libevent, not necessary. - rm -f ${DESTDIR}/usr/include/event.h - -} diff --git a/srcpkgs/libev/template b/srcpkgs/libev/template index 695eb8f95f..f23e65ba6c 100644 --- a/srcpkgs/libev/template +++ b/srcpkgs/libev/template @@ -1,9 +1,8 @@ # Template file for 'libev' pkgname=libev version=4.15 -revision=2 +revision=3 build_style=gnu-configure -subpackages="${pkgname}-devel" short_desc="High-performance event loop loosely modelled after libevent" maintainer="davehome " license="GPL-2, BSD" @@ -15,3 +14,23 @@ long_desc=" loosely modelled after libevent, but without its limitations and bugs. It is used, among others, in the GNU Virtual Private Ethernet and rxvt-unicode packages, and in the Deliantra MORPG Server and Client." + +post_install() { + # Conflicts with libevent, not necessary. + rm -f ${DESTDIR}/usr/include/event.h +} + +libev-devel_package() { + depends="libev>=${version}" + short_desc="${short_desc} -- Development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +libev_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libevent/libevent-devel.template b/srcpkgs/libevent/libevent-devel.template deleted file mode 100644 index a11b179481..0000000000 --- a/srcpkgs/libevent/libevent-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libevent-devel'. -# -noarch=yes -depends="openssl-devel libevent>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/bin usr - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libevent/template b/srcpkgs/libevent/template index 2e0159a904..0f0eed083a 100644 --- a/srcpkgs/libevent/template +++ b/srcpkgs/libevent/template @@ -1,7 +1,7 @@ # Template file for 'libevent' pkgname=libevent version=2.0.21 -revision=2 +revision=3 wrksrc="$pkgname-$version-stable" subpackages="$pkgname-devel" build_style=gnu-configure @@ -13,3 +13,19 @@ homepage="http://www.monkey.org/~provos/libevent/" license="GPL-2" distfiles="https://github.com/downloads/$pkgname/$pkgname/$pkgname-$version-stable.tar.gz" checksum=22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5 + +libevent-devel_package() { + depends="openssl-devel libevent>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libevent_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libewf/libewf-devel.template b/srcpkgs/libewf/libewf-devel.template deleted file mode 100644 index 895fb2f8ee..0000000000 --- a/srcpkgs/libewf/libewf-devel.template +++ /dev/null @@ -1,9 +0,0 @@ -# Template file for 'libewf-devel'. -# -short_desc="${sourcepkg} development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libewf/template b/srcpkgs/libewf/template index 2cc7852741..678c950ee9 100644 --- a/srcpkgs/libewf/template +++ b/srcpkgs/libewf/template @@ -1,13 +1,27 @@ # Template file for 'libewf' pkgname=libewf version=20130128 -homepage="http://code.google.com/p/libewf/" -distfiles="http://libewf.googlecode.com/files/libewf-20130128.tar.gz" build_style=gnu-configure -revision=1 +revision=2 short_desc="Libewf and tooling to access the Expert Witness Compression Format" maintainer="pancake " license="LGPL-3" +homepage="http://code.google.com/p/libewf/" +distfiles="http://libewf.googlecode.com/files/libewf-20130128.tar.gz" checksum=769a5662299485f98d50ef484e73da23813827ac52a2963b67a3e3416fd663d5 -subpackages="$pkgname-devel" +libewf-devel_package() { + depends="libewf>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libewf_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libexif/libexif-devel.template b/srcpkgs/libexif/libexif-devel.template deleted file mode 100644 index 5bb9c3f7a1..0000000000 --- a/srcpkgs/libexif/libexif-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libexif-devel'. -# -depends="glibc-devel libexif>=$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 -} diff --git a/srcpkgs/libexif/template b/srcpkgs/libexif/template index 27356455a7..f2bc2415b7 100644 --- a/srcpkgs/libexif/template +++ b/srcpkgs/libexif/template @@ -1,9 +1,8 @@ # Template build file for 'libexif'. pkgname=libexif version=0.6.21 -revision=1 +revision=2 build_style=gnu-configure -subpackages="$pkgname-devel" configure_args="ac_cv_path_DOXYGEN=false" short_desc="EXIF file library" maintainer="Juan RP " @@ -15,3 +14,19 @@ long_desc=" Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. The EXIF library allows you to parse an EXIF file and read the data from those tags." + +libexif-devel_package() { + depends="libexif>=$version" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libexif_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libfetch/libfetch-devel.template b/srcpkgs/libfetch/libfetch-devel.template deleted file mode 100644 index f091ebcfa2..0000000000 --- a/srcpkgs/libfetch/libfetch-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libfetch-devel'. -# -depends="openssl-devel libfetch>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/share usr - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libfetch/template b/srcpkgs/libfetch/template index d08f838e7f..714af82c48 100644 --- a/srcpkgs/libfetch/template +++ b/srcpkgs/libfetch/template @@ -3,7 +3,6 @@ pkgname=libfetch version=2.34 revision=1 build_style=gnu-makefile -subpackages="${pkgname}-devel" makedepends="openssl-devel" short_desc="File Transfer Library for URLs" maintainer="Juan RP " @@ -11,3 +10,19 @@ homepage="http://www.FreeBSD.org" license="Modified BSD" distfiles="http://xbps.nopcode.org/distfiles/${pkgname}-${version}.tar.xz" checksum=4e6d4541f213c9ab42ea94d49c2573f0a6f54b04f14668530960f1424b04f722 + +libfetch-devel_package() { + depends="openssl-devel libfetch>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove "usr/lib/*.a" + } +} + +libfetch_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libfm/libfm-devel.template b/srcpkgs/libfm/libfm-devel.template deleted file mode 100644 index fdbdb2df51..0000000000 --- a/srcpkgs/libfm/libfm-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libfm-devel'. -# -noarch=yes -depends="gtk+-devel menu-cache-devel libfm-${version}_${revision}" -short_desc="${sourcepkg} development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - #vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template index 4e4136bd4e..aa5ced9e6c 100644 --- a/srcpkgs/libfm/template +++ b/srcpkgs/libfm/template @@ -1,7 +1,7 @@ # Template file for 'libfm' pkgname=libfm version=1.1.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-udisks --disable-static" short_desc="LXDE GLib/GIO based library" @@ -11,11 +11,25 @@ license="GPL-2" distfiles="${SOURCEFORGE_SITE}/pcmanfm/$pkgname-$version.tar.gz" checksum=b9426e588670b53570b808c49abd1d103863614dd3622559b8c3ef1392fe0b3d -subpackages="libfm-devel" -makedepends="pkg-config intltool libexif-devel dbus-glib-devel gtk+-devel +hostmakedepends="pkg-config intltool" +makedepends="libexif-devel dbus-glib-devel gtk+-devel menu-cache-devel vala-devel" -depends="desktop-file-utils udisks" -conf_files=" -/etc/xdg/libfm/libfm.conf -/etc/xdg/libfm/pref-apps.conf" +libfm-devel_package() { + depends="gtk+-devel menu-cache-devel libfm-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libfm_package() { + conf_files=" + /etc/xdg/libfm/libfm.conf + /etc/xdg/libfm/pref-apps.conf" + depends="desktop-file-utils udisks" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libfontenc/libfontenc-devel.template b/srcpkgs/libfontenc/libfontenc-devel.template deleted file mode 100644 index 0d0710768b..0000000000 --- a/srcpkgs/libfontenc/libfontenc-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libfontenc-devel'. -# -depends="xproto zlib-devel libfontenc>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libfontenc/template b/srcpkgs/libfontenc/template index c9142478d1..08a6e47219 100644 --- a/srcpkgs/libfontenc/template +++ b/srcpkgs/libfontenc/template @@ -13,3 +13,19 @@ homepage="http://xorg.freedesktop.org/" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=de72812f1856bb63bd2226ec8c2e2301931d3c72bd0f08b0d63a0cdf0722017f subpackages="$pkgname-devel" + +libfontenc-devel_package() { + depends="xproto zlib-devel libfontenc>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libfontenc_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgdata/libgdata-devel.template b/srcpkgs/libgdata/libgdata-devel.template deleted file mode 100644 index 0afa1734f9..0000000000 --- a/srcpkgs/libgdata/libgdata-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libgdata-devel'. -# -depends="glib-devel libxml2-devel libsoup-devel liboauth-devel - gcr-devel gnome-online-accounts-devel libgdata-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - mkdir -p ${DESTDIR}/usr/{lib,share} - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/{gtk-doc,gir-1.0} ${DESTDIR}/usr/share -} diff --git a/srcpkgs/libgdata/template b/srcpkgs/libgdata/template index 7b4e853954..46d8a6d837 100644 --- a/srcpkgs/libgdata/template +++ b/srcpkgs/libgdata/template @@ -2,7 +2,6 @@ pkgname=libgdata version=0.13.3 revision=1 -subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--disable-static" hostmakedepends="pkg-config flex intltool gobject-introspection" @@ -18,3 +17,22 @@ long_desc=" libgdata is a GLib-based library for accessing online service APIs using the GData protocol — most notably, Google's services. It provides APIs to access the common Google services, and has full asynchronous support." + +libgdata-devel_package() { + depends="glib-devel libxml2-devel libsoup-devel liboauth-devel + gcr-devel gnome-online-accounts-devel + libgdata-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + vmove usr/share/gir-1.0 + } +} + +libgdata_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgee/libgee-devel.template b/srcpkgs/libgee/libgee-devel.template deleted file mode 100644 index 12ed9c2885..0000000000 --- a/srcpkgs/libgee/libgee-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libgee-devel'. -# -noarch=yes -depends="glib-devel libgee>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gir-1.0 usr/share - vmove usr/share/vala usr/share -} diff --git a/srcpkgs/libgee/template b/srcpkgs/libgee/template index 0bcb2b8bc5..1536507caf 100644 --- a/srcpkgs/libgee/template +++ b/srcpkgs/libgee/template @@ -1,14 +1,31 @@ # Template file for 'libgee' pkgname=libgee version=0.6.8 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config intltool glib-devel vala-devel gobject-introspection" -subpackages="$pkgname-devel" +hostmakedepends="pkg-config intltool gobject-introspection"" +makedepends="libglib-devel vala-devel" short_desc="GObject collection library" maintainer="Juan RP " license="LGPL-2.1" homepage="http://live.gnome.org/Libgee" distfiles="${GNOME_SITE}/$pkgname/0.6/$pkgname-$version.tar.xz" checksum=a61f8d796173d41f6144a030d4bd22461f0bb3fa18a3ebe02341b315feebf5d3 + +libgee-devel_package() { + depends="glib-devel libgee>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/vala + } +} + +libgee_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgee08/libgee08-devel.template b/srcpkgs/libgee08/libgee08-devel.template deleted file mode 100644 index fbf7fac0f5..0000000000 --- a/srcpkgs/libgee08/libgee08-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libgee08-devel'. -# -depends="glib-devel ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gir-1.0 usr/share - vmove usr/share/vala usr/share -} diff --git a/srcpkgs/libgee08/template b/srcpkgs/libgee08/template index 96d1bbc76f..2cffd16807 100644 --- a/srcpkgs/libgee08/template +++ b/srcpkgs/libgee08/template @@ -6,11 +6,27 @@ revision=1 build_style=gnu-configure configure_args="--disable-static" hostmakedepends="pkg-config intltool gobject-introspection" -makedepends="glib-devel vala-devel>=0.20" -subpackages="${pkgname}-devel" +makedepends="libglib-devel vala-devel>=0.20" short_desc="GObject collection library (0.8.x API)" maintainer="Juan RP " license="LGPL-2.1" homepage="http://live.gnome.org/Libgee" distfiles="${GNOME_SITE}/libgee/0.10/libgee-${version}.tar.xz" checksum=01d541f1e048f53d9a0f01548c707795c46a41e1d6e55b567f9ae29b871ad095 + +libgee08-devel_package() { + depends="glib-devel ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/vala + } +} + +libgee08_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgexiv2/libgexiv2-devel.template b/srcpkgs/libgexiv2/libgexiv2-devel.template deleted file mode 100644 index 1a7e168879..0000000000 --- a/srcpkgs/libgexiv2/libgexiv2-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libgexiv2-devel'. -# -depends="glib-devel exiv2-devel libgexiv2-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/vala usr/share -} diff --git a/srcpkgs/libgexiv2/template b/srcpkgs/libgexiv2/template index 3bb64f1ac8..6322702b90 100644 --- a/srcpkgs/libgexiv2/template +++ b/srcpkgs/libgexiv2/template @@ -1,10 +1,10 @@ # Template file for 'libgexiv2' pkgname=libgexiv2 version=0.6.0 -revision=1 +revision=2 build_style=gnu-configure -subpackages="${pkgname}-devel" -makedepends="libtool pkg-config glib-devel exiv2-devel" +hostmakedepends="libtool pkg-config" +makedepends="libglib-devel exiv2-devel" short_desc="GObject-based wrapper around the Exiv2 library" maintainer="Juan RP " license="GPL-2" @@ -14,3 +14,20 @@ checksum=54ae999042847852168e507cb2ff25c243b8c63b95aad5068bb536044a15f4a4 long_desc=" gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic features of Exiv2 available to GNOME applications." + +libgexiv2-devel_package() { + depends="libglib-devel exiv2-devel libgexiv2-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share/vala + } +} + +libgexiv2_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libglade/libglade-devel.template b/srcpkgs/libglade/libglade-devel.template deleted file mode 100644 index 0d38cdfd3d..0000000000 --- a/srcpkgs/libglade/libglade-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libglade-devel'. -# -noarch=yes -depends="libxml2-devel gtk+-devel ${sourcepkg}-${version}_${revision}" -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,share} - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share -} diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template index 6767e8581e..e4a06d690e 100644 --- a/srcpkgs/libglade/template +++ b/srcpkgs/libglade/template @@ -1,12 +1,11 @@ # Template build file for 'libglade'. pkgname=libglade version=2.6.4 -revision=9 -subpackages="$pkgname-devel" +revision=10 build_style=gnu-configure configure_args="--disable-static --without-xml-catalog" -makedepends="pkg-config python libxml2-devel gtk+-devel" -fulldepends="xmlcatmgr" +hostmakedepends="pkg-config python" +makedepends="libxml2-devel gtk+-devel xmlcatmgr" short_desc="Runtime interpreter for GLADE GUI files" homepage="http://www.jamesh.id.au/software/libglade/" license="LGPL-2" @@ -24,5 +23,22 @@ long_desc=" with support for keyboard accelerators and automatic signal connection." -# Register DTDs with xmlcatmgr. -xml_entries="system http://glade.gnome.org/glade-2.0.dtd /usr/share/xml/libglade/glade-2.0.dtd" +libglade-devel_package() { + depends="libxml2-devel gtk+-devel ${sourcepkg}-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + } +} + +libglade_package() { + # Register DTDs with xmlcatmgr. + xml_entries="system http://glade.gnome.org/glade-2.0.dtd /usr/share/xml/libglade/glade-2.0.dtd" + depends="xmlcatmgr" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libglademm/libglademm-devel.template b/srcpkgs/libglademm/libglademm-devel.template deleted file mode 100644 index 2ff2036cec..0000000000 --- a/srcpkgs/libglademm/libglademm-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libglademm-devel'. -# -noarch=yes -depends="libglademm>=${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/libglademm-2.4 usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libglademm/template b/srcpkgs/libglademm/template index 42aa2b0b49..8a7ea08265 100644 --- a/srcpkgs/libglademm/template +++ b/srcpkgs/libglademm/template @@ -1,14 +1,15 @@ # Template build file for 'libglademm'. pkgname=libglademm version=2.6.7 -revision=1 -distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2" +revision=2 build_style=gnu-configure -makedepends="pkg-config gtkmm2-devel libglade-devel" +hostmakedepends="pkg-config" +makedepends="gtkmm2-devel libglade-devel" homepage="http://www.gtkmm.org" license="GPL-2" short_desc="Runtime interpreter for GLADE GUI files (gtkmm2 binding)" maintainer="davehome " +distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2" checksum=38543c15acf727434341cc08c2b003d24f36abc22380937707fc2c5c687a2bc3 long_desc=" Libglade is a library that performs a similar job to the C source @@ -23,5 +24,19 @@ long_desc=" This is the gtkmm2 binding" -subpackages="$pkgname-devel" +libglademm-devel_package() { + depends="libglademm>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/libglademm-2.4 + vmove usr/lib/pkgconfig + vmove usr/share + } +} +libglademm_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgnome-keyring/libgnome-keyring-devel.template b/srcpkgs/libgnome-keyring/libgnome-keyring-devel.template deleted file mode 100644 index 751db0b456..0000000000 --- a/srcpkgs/libgnome-keyring/libgnome-keyring-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libgnome-keyring-devel'. -# -depends="glib-devel ${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gir-1.0 usr/share - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libgnome-keyring/template b/srcpkgs/libgnome-keyring/template index 9b1adf5090..46a5b1a6fb 100644 --- a/srcpkgs/libgnome-keyring/template +++ b/srcpkgs/libgnome-keyring/template @@ -1,12 +1,11 @@ # Template file for 'libgnome-keyring' pkgname=libgnome-keyring version=3.8.0 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-debug" hostmakedepends="pkg-config intltool gobject-introspection" -makedepends="dbus-devel glib-devel libgcrypt-devel" +makedepends="dbus-devel libglib-devel libgcrypt-devel" short_desc="GNOME keyring client library" maintainer="Juan RP " homepage="http://www.gnome.org" @@ -21,3 +20,20 @@ long_desc=" The program can manage several keyrings, each with its own master password, and there is also a session keyring which is never stored to disk, but forgotten when the session ends." + +libgnome-keyring-devel_package() { + depends="libglib-devel ${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + } +} + +libgnome-keyring_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgnomecanvas/libgnomecanvas-devel.template b/srcpkgs/libgnomecanvas/libgnomecanvas-devel.template deleted file mode 100644 index 15ba2cfbb1..0000000000 --- a/srcpkgs/libgnomecanvas/libgnomecanvas-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libgnomecanvas-devel'. -# -depends="gtk+-devel libart-devel libgnomecanvas-${version}_${revision}" -short_desc="${sourcepkg} (development files)" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -noarch=yes - -do_install() { - mkdir -p ${DESTDIR}/usr/{lib,share} - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share -} diff --git a/srcpkgs/libgnomecanvas/template b/srcpkgs/libgnomecanvas/template index eaa8564258..01f2c03e12 100644 --- a/srcpkgs/libgnomecanvas/template +++ b/srcpkgs/libgnomecanvas/template @@ -1,11 +1,11 @@ # Template file for 'libgnomecanvas' pkgname=libgnomecanvas version=2.30.3 -revision=5 -subpackages="$pkgname-devel" +revision=6 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config intltool gtk+-devel libart-devel" +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel libart-devel" short_desc="GNOME Canvas library" homepage="http://gnome.org/" license="LGPL-2" @@ -24,3 +24,19 @@ long_desc=" antialiased, alpha-compositing engine. Applications have a choice between the Xlib imaging model or a superset of the PostScript imaging model, depending on the level of graphic sophistication required." + +libgnomecanvas-devel_package() { + depends="gtk+-devel libart-devel libgnomecanvas-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + } +} + +libgnomecanvas_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgnomecanvasmm/libgnomecanvasmm-devel.template b/srcpkgs/libgnomecanvasmm/libgnomecanvasmm-devel.template deleted file mode 100644 index 4ebaa57400..0000000000 --- a/srcpkgs/libgnomecanvasmm/libgnomecanvasmm-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libgnomecanvasmm-devel'. -# -noarch=yes -depends="libgnomecanvas-devel libgnomecanvasmm>=${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/libgnomecanvasmm-2.6 usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libgnomecanvasmm/template b/srcpkgs/libgnomecanvasmm/template index cbca719b92..33c78401a1 100644 --- a/srcpkgs/libgnomecanvasmm/template +++ b/srcpkgs/libgnomecanvasmm/template @@ -1,10 +1,11 @@ # Template file for 'libgnomecanvasmm' pkgname=libgnomecanvasmm version=2.26.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config gtkmm2-devel libgnomecanvas-devel" +hostmakedepends="pkg-config" +makedepends="gtkmm2-devel libgnomecanvas-devel" short_desc="GNOME Canvas library (gtkmm2 binding)" maintainer="davehome " homepage="http://gtkmm.sourceforge.net/" @@ -26,4 +27,18 @@ long_desc=" This is the gtkmm2 binding." -subpackages="$pkgname-devel" +libgnomecanvasmm-devel_package() { + depends="libgnomecanvas-devel libgnomecanvasmm>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/libgnomecanvasmm-2.6 + vmove usr/lib/pkgconfig + } +} + +libgnomecanvasmm_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgnomekbd/libgnomekbd-devel.template b/srcpkgs/libgnomekbd/libgnomekbd-devel.template deleted file mode 100644 index dccbeb9ffa..0000000000 --- a/srcpkgs/libgnomekbd/libgnomekbd-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libgnomekbd-devel'. -# -depends="libxml2-devel gtk+3-devel>=3.6.0_2 libxklavier-devel libgnomekbd>=${version}" -short_desc="${sourcepkg} (development files)" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gir-1.0 usr/share -} diff --git a/srcpkgs/libgnomekbd/template b/srcpkgs/libgnomekbd/template index e452f1f996..da4cd6dd3f 100644 --- a/srcpkgs/libgnomekbd/template +++ b/srcpkgs/libgnomekbd/template @@ -1,13 +1,11 @@ # Template file for 'libgnomekbd' pkgname=libgnomekbd version=3.6.0 -revision=2 -subpackages="$pkgname-devel" +revision=3 build_style=gnu-configure configure_args="--disable-static" -depends="desktop-file-utils" -makedepends="pkg-config intltool libxml2-devel gtk+3-devel>=3.6.0_2 -libxklavier-devel>=5.2.1_1 gobject-introspection" +hostmakedepends="pkg-config intltool gobject-introspection" +makedepends="libxml2-devel gtk+3-devel>=3.6.0_2 libxklavier-devel>=5.2.1_1" short_desc="Gnome keyboard configuration library" homepage="http://gnome.org/" license="GPL-2" @@ -16,3 +14,20 @@ distfiles="${GNOME_SITE}/$pkgname/3.6/$pkgname-$version.tar.xz" checksum=c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09 long_desc=" This packages a keyboard configuration library for the GNOME desktop." + +libgnomekbd-devel_package() { + depends="libxml2-devel gtk+3-devel>=3.6.0_2 libxklavier-devel libgnomekbd>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + } +} + +libgnomekbd_package() { + depends="desktop-file-utils" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgphoto2/libgphoto2-devel.template b/srcpkgs/libgphoto2/libgphoto2-devel.template deleted file mode 100644 index af208e5963..0000000000 --- a/srcpkgs/libgphoto2/libgphoto2-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libgphoto2-devel'. -# -depends="libexif-devel libusb-compat-devel libgphoto2>=${version}" -short_desc="${sourcepkg} - development files" -noarch=yes - -do_install() { - mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man - mv ${SRCPKGDESTDIR}/usr/{bin,include} ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share - mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man -} diff --git a/srcpkgs/libgphoto2/template b/srcpkgs/libgphoto2/template index 2157fd72ac..36e597be5d 100644 --- a/srcpkgs/libgphoto2/template +++ b/srcpkgs/libgphoto2/template @@ -1,11 +1,11 @@ # Template file for 'libgphoto2' pkgname=libgphoto2 version=2.4.14 -revision=4 -subpackages="$pkgname-devel" +revision=5 build_style=gnu-configure configure_args="--disable-static --disable-rpath udevscriptdir=/usr/lib/udev" -makedepends="pkg-config libltdl-devel libusb-compat-devel libjpeg-turbo-devel gd-devel libexif-devel" +hostmakedepends="pkg-config" +makedepends="libltdl-devel libusb-compat-devel libjpeg-turbo-devel gd-devel libexif-devel" short_desc="Digital camera access library" maintainer="Juan RP " license="GPL-2" @@ -26,3 +26,21 @@ post_install() { # Remove recursive symlink rm -f ${DESTDIR}/usr/include/gphoto2/gphoto2 } + +libgphoto2-devel_package() { + depends="libexif-devel libusb-compat-devel libgphoto2>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/doc + vmove usr/share/man/man3 + } +} + +libgphoto2_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgsf/libgsf-devel.template b/srcpkgs/libgsf/libgsf-devel.template deleted file mode 100644 index e568734cc7..0000000000 --- a/srcpkgs/libgsf/libgsf-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libgsf-devel'. -# -noarch=yes -depends="glib-devel libxml2-devel libgsf>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gtk-doc usr/share - vmove usr/share/gir-1.0 usr/share -} diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template index 2d220bdde6..fa392124af 100644 --- a/srcpkgs/libgsf/template +++ b/srcpkgs/libgsf/template @@ -1,15 +1,31 @@ # Template build file for 'libgsf'. pkgname=libgsf version=1.14.26 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static --enable-introspection=yes" -makedepends="pkg-config intltool glib-devel libxml2-devel - gdk-pixbuf-devel gobject-introspection" +hostmakedepends="pkg-config intltool gobject-introspection" +makedepends="libglib-devel libxml2-devel gdk-pixbuf-devel" short_desc="Structured File Library" maintainer="Juan RP " license="GPL-2, LGPL-2.1" homepage="http://www.gnome.org/" distfiles="${GNOME_SITE}/libgsf/1.14/$pkgname-$version.tar.xz" checksum=8919e725aadd785380350c8dec7427d82cf33164bc9a9a549df9440a0c3da6d5 + +libgsf-devel_package() { + depends="libglib-devel libxml2-devel libgsf>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + vmove usr/share/gir-1.0 + } +} + +libgsf_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgsm/libgsm-devel.template b/srcpkgs/libgsm/libgsm-devel.template deleted file mode 100644 index 2c1fea91c0..0000000000 --- a/srcpkgs/libgsm/libgsm-devel.template +++ /dev/null @@ -1,19 +0,0 @@ -# Template file for 'libgsm-devel'. -# -depends="glibc-devel libgsm" -short_desc="${short_desc} - Development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - - -do_install() -{ - vmkdir usr/lib - vinstall lib/libgsm.a 644 usr/lib - vmkdir usr/include/gsm - vcopy "inc/*" usr/include/gsm - rm -f ${DESTDIR}/usr/include/gsm/*.orig - cd ${DESTDIR}/usr/include && ln -s gsm/gsm.h -} diff --git a/srcpkgs/libgsm/template b/srcpkgs/libgsm/template index cdb276eaae..582e77023a 100644 --- a/srcpkgs/libgsm/template +++ b/srcpkgs/libgsm/template @@ -2,7 +2,7 @@ pkgname=libgsm version=1.0.13 wrksrc=gsm-1.0-pl13 -revision=6 +revision=7 homepage="http://www.quut.com/gsm/" distfiles="http://www.mangler.org/downloads/${pkgname}-${version}.tar.gz" short_desc="GSM 06.10 lossy speech compression" @@ -16,15 +16,36 @@ long_desc=" GSM includes a codec, often just referred to as the GSM when discussing codecs." -subpackages="$pkgname-devel" - do_build() { make ${makejobs} } do_install() { + vmkdir usr/include/gsm vmkdir usr/lib vmkdir usr/bin - install -m755 ${wrksrc}/bin/* ${DESTDIR}/usr/bin - install -m755 ${wrksrc}/lib/*.so ${DESTDIR}/usr/lib + + install -m755 bin/* ${DESTDIR}/usr/bin + install -m755 lib/*.so ${DESTDIR}/usr/lib + install -m644 lib/*.a ${DESTDIR}/usr/lib + install -m644 inc/* ${DESTDIR}/usr/include/gsm + + rm -f ${DESTDIR}/usr/include/gsm/*.orig + cd ${DESTDIR}/usr/include/gsm + ln -s gsm/gsm.h +} + +libgsm-devel_package() { + depends="libgsm>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +libgsm_package() { + pkg_install() { + vmove usr + } } diff --git a/srcpkgs/libgssglue/libgssglue-devel.template b/srcpkgs/libgssglue/libgssglue-devel.template deleted file mode 100644 index 7e789ed351..0000000000 --- a/srcpkgs/libgssglue/libgssglue-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libgssglue-devel'. -# -noarch=yes -depends="glibc-devel libgssglue>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libgssglue/template b/srcpkgs/libgssglue/template index fab7ceb491..d381b66bd4 100644 --- a/srcpkgs/libgssglue/template +++ b/srcpkgs/libgssglue/template @@ -1,8 +1,7 @@ # Template file for 'libgssglue' pkgname=libgssglue version=0.4 -revision=2 -conf_files="/etc/gssapi_mech.conf" +revision=3 subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--disable-static" @@ -16,3 +15,20 @@ checksum=3f791a75502ba723e5e85e41e5e0c711bb89e2716b7c0ec6e74bd1df6739043a post_install() { vinstall ${FILESDIR}/gssapi_mech.conf 644 etc } + +libgssglue-devel_package() { + depends="libgssglue>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libgssglue_package() { + conf_files="/etc/gssapi_mech.conf" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/libgtop/libgtop-devel.template b/srcpkgs/libgtop/libgtop-devel.template deleted file mode 100644 index 8cb9d42e09..0000000000 --- a/srcpkgs/libgtop/libgtop-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libgtop-devel'. -# -depends="pkg-config intltool glib-devel libXau-devel libgtop" -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,share} - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/{gir*,gtk-doc,info} ${DESTDIR}/usr/share -} diff --git a/srcpkgs/libgtop/template b/srcpkgs/libgtop/template index a33fbbf204..680c817990 100644 --- a/srcpkgs/libgtop/template +++ b/srcpkgs/libgtop/template @@ -1,15 +1,16 @@ # Template build file for 'libgtop'. pkgname=libgtop version=2.28.4 -distfiles="${GNOME_SITE}/$pkgname/2.28/$pkgname-$version.tar.bz2" +revision=3 build_style=gnu-configure configure_args="-with-libgtop-smp" -revision=2 -makedepends="pkg-config intltool glib-devel libXau-devel gobject-introspection" +hostmakedepends="pkg-config intltool gobject-introspection" +makedepends="libglib-devel libXau-devel" short_desc="Library to retrieve system information, used in GNOME" maintainer="Juan RP " homepage="http://www.gnome.org/" license="LGPL-2.1" +distfiles="${GNOME_SITE}/$pkgname/2.28/$pkgname-$version.tar.bz2" checksum=098568c08e412c0be2980a322ff3e7403a6d72192391d276a16943cbd3874182 long_desc=" libgtop is a library that fetches system information about the running @@ -17,5 +18,21 @@ long_desc=" provides a setgid server that fetches the information and a client-side library that talks to this server." -subpackages="$pkgname-devel" +libgtop-devel_package() { + depends="libglib-devel libXau-devel libgtop>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share/doc + vmove usr/share/info + vmove usr/share/gir-1.0 + } +} +libgtop_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libguess/libguess-devel.template b/srcpkgs/libguess/libguess-devel.template deleted file mode 100644 index 74445e10e1..0000000000 --- a/srcpkgs/libguess/libguess-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libguess-devel'. -# -noarch=yes -depends="libmowgli-devel libguess>=${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/pkgconfig usr/lib -} diff --git a/srcpkgs/libguess/template b/srcpkgs/libguess/template index 76b60a9f09..9090f4dffa 100644 --- a/srcpkgs/libguess/template +++ b/srcpkgs/libguess/template @@ -1,9 +1,10 @@ # Template file for 'libguess' pkgname=libguess version=1.1 +revision=2 build_style=gnu-configure -makedepends="pkg-config libmowgli-devel" -revision=1 +hostmakedepends="pkg-config" +makedepends="libmowgli-devel" short_desc="High-speed character set detection library" maintainer="davehome " homepage="http://www.atheme.org/project/libguess" @@ -21,8 +22,6 @@ long_desc=" libguess is fully reentrant, using only local stack memory for DFA operations." -subpackages="${pkgname}-devel" - pre_configure() { sed -i 's/libmowgli >= 0.9.50/libmowgli-2/g' configure } @@ -30,3 +29,18 @@ pre_configure() { post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} } + +libguess-devel_package() { + depends="libmowgli-devel libguess>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libguess_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgusb/libgusb-devel.template b/srcpkgs/libgusb/libgusb-devel.template deleted file mode 100644 index 42ffdbe92d..0000000000 --- a/srcpkgs/libgusb/libgusb-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libgusb-devel'. -# -depends="libudev-devel ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/share usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libgusb/template b/srcpkgs/libgusb/template index d65732304a..e0e05a8bfe 100644 --- a/srcpkgs/libgusb/template +++ b/srcpkgs/libgusb/template @@ -2,7 +2,6 @@ pkgname=libgusb version=0.1.6 revision=1 -subpackages="${pkgname}-devel" build_style=gnu-configure configure_args="--disable-static" hostmakedepends="pkg-config gobject-introspection" @@ -19,3 +18,19 @@ long_desc=" cancellation and integration into a mainloop. This makes it easy to integrate low level USB transfers with your high-level application or system daemon." + +libgusb-devel_package() { + depends="libudev-devel ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + } +} + +libgusb_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgweather/libgweather-devel.template b/srcpkgs/libgweather/libgweather-devel.template deleted file mode 100644 index 04f6fcd756..0000000000 --- a/srcpkgs/libgweather/libgweather-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libgweather-devel'. -# -depends="gdk-pixbuf-devel gtk+3-devel libxml2-devel - libsoup-devel ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gir-1.0 usr/share - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libgweather/template b/srcpkgs/libgweather/template index 31baec9b80..4ab6e8ca7f 100644 --- a/srcpkgs/libgweather/template +++ b/srcpkgs/libgweather/template @@ -2,13 +2,12 @@ pkgname=libgweather version=3.8.0 revision=1 -subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--disable-schemas-compile --enable-locations-compression --with-zoneinfo-dir=/usr/share/zoneinfo" hostmakedepends="pkg-config intltool gobject-introspection" -makedepends="libxml2-devel libsoup-gnome-devel gtk+3-devel>=3.8.0" -fulldepends="gnome-icon-theme" +makedepends="libxml2-devel libsoup-gnome-devel gtk+3-devel>=3.8.0 + gnome-icon-theme" short_desc="GNOME Weather information access library" maintainer="Juan RP " license="LGPL-2.1" @@ -18,3 +17,22 @@ checksum=c1578dc0ba696e447a3e5bf1b814e1707edd2e1cd460ba8370f8b44f66e04306 long_desc=" libgweather is a library to access weather information from online services for numerous locations." + +libgweather-devel_package() { + depends="gdk-pixbuf-devel gtk+3-devel libxml2-devel + libsoup-devel ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + } +} + +libgweather_package() { + depends="gnome-icon-theme" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libgxps/libgxps-devel.template b/srcpkgs/libgxps/libgxps-devel.template deleted file mode 100644 index ea0076b908..0000000000 --- a/srcpkgs/libgxps/libgxps-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libgxps-devel'. -# -depends="glib-devel libarchive-devel cairo-devel libgxps>=$version" -short_desc="${short_desc} - development files" -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/share usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libgxps/template b/srcpkgs/libgxps/template index 40a7766450..85f09b160f 100644 --- a/srcpkgs/libgxps/template +++ b/srcpkgs/libgxps/template @@ -1,16 +1,31 @@ # Template file for 'libgxps' pkgname=libgxps version=0.2.2 -revision=4 +revision=5 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config glib-devel libjpeg-turbo-devel libpng-devel>=1.5.10 - tiff-devel lcms2-devel libarchive-devel>=3.1.2 freetype-devel - gobject-introspection" -subpackages="${pkgname}-devel" +hostmakedepends="pkg-config gobject-introspection" +makedepends="libglib-devel libjpeg-turbo-devel libpng-devel>=1.5.10 + tiff-devel lcms2-devel libarchive-devel>=3.1.2 freetype-devel" short_desc="GObject base library for XPS documents" maintainer="Juan RP " license="LGPL-2.1" homepage="http://live.gnome.org/libgxps" distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz" checksum=39d104739bf0db43905c315de1d8002460f1a098576f4418f69294013a5820be + +libgxps-devel_package() { + depends="libglib-devel libarchive-devel cairo-devel libgxps>=$version" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + } +} + +libgxps_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libhubbub/libhubbub-devel.template b/srcpkgs/libhubbub/libhubbub-devel.template deleted file mode 100644 index b93a71de31..0000000000 --- a/srcpkgs/libhubbub/libhubbub-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libhubbub-devel'. -# -depends="libhubbub>=0.1.2" -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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libhubbub/template b/srcpkgs/libhubbub/template index 53ea0112d2..6b5987dd8e 100644 --- a/srcpkgs/libhubbub/template +++ b/srcpkgs/libhubbub/template @@ -1,14 +1,15 @@ # Template build file for 'libhubbub'. pkgname=libhubbub version=0.1.2 -homepage="http://www.netsurf-browser.org" -distfiles="${homepage}/projects/releases/hubbub-${version}-src.tar.gz" -makedepends="perl pkg-config libxslt-devel json-c-devel libparserutils-devel" -revision=1 -short_desc="HTML5 compliant parsing library, written in C." +revision=2 +hostmakedepends="perl pkg-config" +makedepends="libxslt-devel json-c-devel libparserutils-devel" +short_desc="HTML5 compliant parsing library, written in C" maintainer="davehome " -checksum=95a1d5a71055b28a8e4ce4dc8516b8f0ed691c5ee03525bf73600495657f1b52 +homepage="http://www.netsurf-browser.org" license="MIT" +distfiles="${homepage}/projects/releases/hubbub-${version}-src.tar.gz" +checksum=95a1d5a71055b28a8e4ce4dc8516b8f0ed691c5ee03525bf73600495657f1b52 long_desc=" Hubbub is an HTML5 compliant parsing library, written in C. It was developed as part of the NetSurf project and is available for use @@ -28,9 +29,6 @@ long_desc=" Portable Shared library" -subpackages="${pkgname}-devel" - - wrksrc=hubbub-${version} do_build() { @@ -46,3 +44,19 @@ do_install() { vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}" } + +libhubbub-devel_package() { + depends="libhubbub>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libhubbub_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libical/libical-devel.template b/srcpkgs/libical/libical-devel.template deleted file mode 100644 index f4c848e392..0000000000 --- a/srcpkgs/libical/libical-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libical-devel'. -# -depends="glibc-devel libical" -short_desc="${short_desc} (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/lib*.a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libical/template b/srcpkgs/libical/template index 2436ee5f7b..3807f9415d 100644 --- a/srcpkgs/libical/template +++ b/srcpkgs/libical/template @@ -1,24 +1,34 @@ # Template build file for 'libical'. pkgname=libical version=0.46 -distfiles="${SOURCEFORGE_SITE}/freeassociation/$pkgname-$version.tar.gz" +revision=4 build_style=gnu-configure configure_args="--enable-shared" -revision=3 -makedepends="flex automake libtool" +hostmakedepends="flex automake libtool" short_desc="Reference implementation of the iCalendar data type and format" homepage="http://sourceforge.net/projects/freeassociation/" license="LGPL-2.1, MPL-1" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/freeassociation/$pkgname-$version.tar.gz" checksum=000762efb81501421d94ec56343648a62b3bd2884e7cdf6f638e2c207dd8f6a1 -long_desc=" - LIBICAL -- an implementation of iCalendar protocols and data formats." -subpackages="$pkgname-devel" - -pre_configure() -{ - cd ${wrksrc} +pre_configure() { sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" -i configure.in ./bootstrap } + +libical-devel_package() { + depends="libical>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libical_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libid3tag/libid3tag-devel.template b/srcpkgs/libid3tag/libid3tag-devel.template deleted file mode 100644 index dbb41abc88..0000000000 --- a/srcpkgs/libid3tag/libid3tag-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libid3tag-devel'. -# -depends="zlib-devel libid3tag" -short_desc="${short_desc} (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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libid3tag/template b/srcpkgs/libid3tag/template index b59dcb9841..a1db7a01af 100644 --- a/srcpkgs/libid3tag/template +++ b/srcpkgs/libid3tag/template @@ -1,23 +1,36 @@ # Template file for 'libid3tag' pkgname=libid3tag version=0.15.1b -revision=4 -distfiles="ftp://ftp.mars.org/pub/mpeg/$pkgname-$version.tar.gz" +revision=5 build_style=gnu-configure -makedepends="pkg-config zlib-devel" +hostmakedepends="pkg-config" +makedepends="zlib-devel" short_desc="ID3 tag library, part of MAD (MPEG Audio Decoder)" homepage="http://sourceforge.net/projects/mad/" license="GPL-2+" maintainer="Juan RP " +distfiles="ftp://ftp.mars.org/pub/mpeg/$pkgname-$version.tar.gz" checksum=63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151 long_desc=" libid3tag is a library for reading and (eventually) writing ID3 tags, both ID3v1 and the various versions of ID3v2." -subpackages="$pkgname-devel" - -post_install() -{ - install -D -m644 ${FILESDIR}/id3tag.pc \ - ${DESTDIR}/usr/lib/pkgconfig/id3tag.pc || return 1 +post_install() { + vinstall ${FILESDIR}/id3tag.pc 644 usr/lib/pkgconfig +} + +libid3tag-devel_package() { + depends="zlib-devel libid3tag>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libid3tag_package() { + pkg_install() { + vmove usr + } } diff --git a/srcpkgs/libieee1284/libieee1284-devel.template b/srcpkgs/libieee1284/libieee1284-devel.template deleted file mode 100644 index 9c1002e7f2..0000000000 --- a/srcpkgs/libieee1284/libieee1284-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libieee1284-devel'. -# -depends="libieee1284>=0.2.10" -short_desc="${short_desc} -- development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/share usr -} diff --git a/srcpkgs/libieee1284/template b/srcpkgs/libieee1284/template index 630aa388f2..10bcaf8eb5 100644 --- a/srcpkgs/libieee1284/template +++ b/srcpkgs/libieee1284/template @@ -1,18 +1,31 @@ # Template file for 'libieee1284' pkgname=libieee1284 version=0.2.10 +revision=2 +build_style=gnu-configure +configure_args="--disable-static --without-python" +short_desc="A library to query devices connected in parallel port" +maintainer="Juan RP " homepage="http://cyberelk.net/tim/libieee1284" license="GPL-2" distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.bz2" -build_style=gnu-configure -configure_args="--disable-static --without-python" -revision=1 -short_desc="A library to query devices connected in parallel port" -maintainer="Juan RP " checksum=77a5b31aa1b1ca12ef8ac03b122cc1f45123fda736229e4f8b4e7bc49a1fe1fb long_desc=" This library is intended to be used by applications that need to communicate with (or at least identify) devices that are attached via a parallel port." -subpackages="$pkgname-devel" +libieee1284-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/share + } +} + +libieee1284_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libiptcdata/libiptcdata-devel.template b/srcpkgs/libiptcdata/libiptcdata-devel.template deleted file mode 100644 index ef2a687e56..0000000000 --- a/srcpkgs/libiptcdata/libiptcdata-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libiptcdata-devel'. -# -depends="libiptcdata>=1.0.4" -short_desc="${short_desc} -- 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 - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libiptcdata/template b/srcpkgs/libiptcdata/template index ce9a5cece2..820318edcf 100644 --- a/srcpkgs/libiptcdata/template +++ b/srcpkgs/libiptcdata/template @@ -1,13 +1,13 @@ # Template file for 'libiptcdata' pkgname=libiptcdata version=1.0.4 +revision=2 +build_style=gnu-configure +short_desc="Library for manipulating the IPTC metadata" +maintainer="Juan RP " homepage="http://libiptcdata.sourceforge.net/" license="LGPL-2.1" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" -build_style=gnu-configure -revision=1 -short_desc="Library for manipulating the IPTC metadata" -maintainer="Juan RP " checksum=79f63b8ce71ee45cefd34efbb66e39a22101443f4060809b8fc29c5eebdcee0e long_desc=" libiptcdata is a library, written in C, for manipulating the International @@ -16,4 +16,18 @@ long_desc=" popular photo management applications. The library provides routines for parsing, viewing, modifying, and saving this metadata." -subpackages="$pkgname-devel" +libiptcdata-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + } +} + +libiptcdata_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libisofs/libisofs-devel.template b/srcpkgs/libisofs/libisofs-devel.template deleted file mode 100644 index 0a944a16a2..0000000000 --- a/srcpkgs/libisofs/libisofs-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libisofs-devel'. -# -noarch=yes -depends="glibc-devel zlib-devel acl-devel attr-devel libisofs>=$version" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libisofs/template b/srcpkgs/libisofs/template index dffc83f8cc..81b73390cf 100644 --- a/srcpkgs/libisofs/template +++ b/srcpkgs/libisofs/template @@ -1,8 +1,7 @@ # Template file for 'libisofs' pkgname=libisofs version=1.2.6 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static --enable-libacl --enable-xattr" makedepends="acl-devel zlib-devel" @@ -12,3 +11,18 @@ homepage="http://www.libburnia-project.org" license="GPL-2" distfiles="http://files.libburnia-project.org/releases/$pkgname-$version.tar.gz" checksum=c89da6821d5cac049657a27bbbc19d69b475ca51bfd595804617ee6ee2e977b7 + +libisofs-devel_package() { + depends="zlib-devel acl-devel attr-devel libisofs>=$version" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libisofs_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libldap/libldap-devel.template b/srcpkgs/libldap/libldap-devel.template deleted file mode 100644 index 7662538fea..0000000000 --- a/srcpkgs/libldap/libldap-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libldap-devel'. -# -noarch=yes -depends="openssl-devel libsasl-devel ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} - development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -do_install() { - vmove usr/include usr - vmove usr/share/man/man3 usr/share/man -} diff --git a/srcpkgs/libldap/template b/srcpkgs/libldap/template index a3aa90086a..a059eec2c2 100644 --- a/srcpkgs/libldap/template +++ b/srcpkgs/libldap/template @@ -1,13 +1,14 @@ # Template file for 'libldap' pkgname=libldap version=2.4.33 -revision=1 +revision=2 wrksrc="openldap-${version}" build_style=gnu-configure configure_args="--enable-dynamic --enable-proctitle --with-tls --enable-ipv6 --enable-local --with-cyrus-sasl --with-threads --enable-syslog --disable-slapd --disable-static" -makedepends="pkg-config libsasl-devel openssl-devel groff" +hostmakedepends="pkg-config groff" +makedepends="libsasl-devel openssl-devel" short_desc="OpenLDAP libraries" license="OpenLDAP License v2.8 -- BSD alike" maintainer="Juan RP " @@ -18,9 +19,6 @@ long_desc=" These are the run-time libraries for the OpenLDAP (Lightweight Directory Access Protocol) servers and clients." -conf_files="/etc/openldap/ldap.conf" -subpackages="libldap-devel" - post_install() { # Remove unused stuff. rm -rf ${DESTDIR}/usr/bin @@ -32,3 +30,20 @@ post_install() { # License vinstall LICENSE 644 usr/share/licenses/$pkgname } + +libldap-devel_package() { + depends="openssl-devel libsasl-devel ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/share/man/man3 + } +} + +libldap_package() { + conf_files="/etc/openldap/ldap.conf" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/liblo/liblo-devel.template b/srcpkgs/liblo/liblo-devel.template deleted file mode 100644 index 6ddd547c69..0000000000 --- a/srcpkgs/liblo/liblo-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'liblo-devel'. -# -depends="glibc-devel liblo" -short_desc="${short_desc} - 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/liblo/template b/srcpkgs/liblo/template index 59f80313ef..d34f764970 100644 --- a/srcpkgs/liblo/template +++ b/srcpkgs/liblo/template @@ -1,16 +1,29 @@ # Template file for 'liblo' pkgname=liblo version=0.26 -homepage="http://plugin.org.uk/liblo/" -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +revision=3 build_style=gnu-configure -revision=2 short_desc="Lightweight OSC implementation" maintainer="davehome " license="LGPL-2.1" +homepage="http://plugin.org.uk/liblo/" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=a636fb09f8178ad0d5303e94fec37b182d3062a0e3daee85eed2a39ab6232258 long_desc=" liblo is an implementation of the Open Sound Control protocol for POSIX systems, started by Steve Harris and now maintained by Stephen Sinclair." -subpackages="$pkgname-devel" +liblo-devel_package() { + depends="liblo>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +liblo_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/liblrdf/liblrdf-devel.template b/srcpkgs/liblrdf/liblrdf-devel.template deleted file mode 100644 index b3d0db458f..0000000000 --- a/srcpkgs/liblrdf/liblrdf-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'liblrdf-devel'. -# -depends="raptor-devel liblrdf" -short_desc="${short_desc} - 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 -} diff --git a/srcpkgs/liblrdf/template b/srcpkgs/liblrdf/template index 2df79c6006..5354faf010 100644 --- a/srcpkgs/liblrdf/template +++ b/srcpkgs/liblrdf/template @@ -1,21 +1,33 @@ # Template file for 'liblrdf' pkgname=liblrdf version=0.4.0 -homepage="http://sourceforge.net/projects/lrdf" -distfiles="${SOURCEFORGE_SITE}/lrdf/${pkgname}-${version}.tar.gz" -build_style=gnu-configure revision=2 -makedepends="automake pkg-config ladspa-sdk raptor-devel" +build_style=gnu-configure +hostmakedepends="automake pkg-config" +makedepends="ladspa-sdk raptor-devel" short_desc="A lightweight RDF library with special support for LADSPA plugins" maintainer="davehome " license="GPL-2" +homepage="http://sourceforge.net/projects/lrdf" +distfiles="${SOURCEFORGE_SITE}/lrdf/${pkgname}-${version}.tar.gz" checksum=95e98e86ba06ed73a5571cbcff3ee88e481b403b6eb727e9eb182870efd9b204 -long_desc=" - This package contains ${short_desc}." - -subpackages="$pkgname-devel" - pre_configure() { autoreconf -fi } + +liblrdf-devel_package() { + depends="raptor-devel liblrdf>=${version}" + short_desc="${short_desc} - Development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +liblrdf_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmad/libmad-devel.template b/srcpkgs/libmad/libmad-devel.template deleted file mode 100644 index 3dfa76b51c..0000000000 --- a/srcpkgs/libmad/libmad-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libmad-devel'. -# -depends="${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libmad/template b/srcpkgs/libmad/template index a5eaf67512..428e21cc38 100644 --- a/srcpkgs/libmad/template +++ b/srcpkgs/libmad/template @@ -1,10 +1,9 @@ # Template file for 'libmad' pkgname=libmad version=0.15.1b -revision=5 -subpackages="$pkgname-devel" +revision=6 build_style=gnu-configure -makedepends="automake pkg-config" +hostmakedepends="automake pkg-config" short_desc="High-quality MPEG audio decoder" maintainer="Juan RP " homepage="http://www.underbit.com/products/mad/" @@ -38,3 +37,19 @@ pre_configure() { sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac autoconf } + +libmad-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libmad_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmatroska/libmatroska-devel.template b/srcpkgs/libmatroska/libmatroska-devel.template deleted file mode 100644 index 203e5ffbe7..0000000000 --- a/srcpkgs/libmatroska/libmatroska-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libmatroska-devel'. -# -depends="libebml-devel libmatroska" -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/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libmatroska/template b/srcpkgs/libmatroska/template index 182ad64243..c560c03ba1 100644 --- a/srcpkgs/libmatroska/template +++ b/srcpkgs/libmatroska/template @@ -1,16 +1,15 @@ # Template file for 'libmatroska' pkgname=libmatroska version=1.3.0 -distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2" +revision=3 build_style=gnu-makefile build_wrksrc="make/linux" -make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr install" -revision=2 makedepends="libebml-devel" short_desc="Extensible open standard Audio/Video container format" maintainer="Juan RP " homepage="http://dl.matroska.org/downloads/libmatroska/" license="LGPL-2.1" +distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2" checksum=5231ec958571365e719a6fd3c220227af6cf0f14e0bd1bcf766ddbc068d18e69 long_desc=" Matroska aims to become THE Standard of Multimedia Container Formats. @@ -30,4 +29,21 @@ long_desc=" - Selectable audio streams - Modularly extendable" -subpackages="$pkgname-devel" +do_install() { + make prefix=${DESTDIR}/usr install +} + +libmatroska-devel_package() { + depends="libebml-devel libmatroska>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +libmatroska_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmikmod/libmikmod-devel.template b/srcpkgs/libmikmod/libmikmod-devel.template deleted file mode 100644 index a58c15edd8..0000000000 --- a/srcpkgs/libmikmod/libmikmod-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libmikmod-devel'. -# -noarch=yes -depends="libmikmod>=${version}" -short_desc="${short_desc} (development files)" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -do_install() { - vmove usr/bin usr - vmove usr/include usr - vmove usr/share usr -} diff --git a/srcpkgs/libmikmod/template b/srcpkgs/libmikmod/template index 740ae4ad43..ade8610ef7 100644 --- a/srcpkgs/libmikmod/template +++ b/srcpkgs/libmikmod/template @@ -1,8 +1,7 @@ # Template file for 'libmikmod' pkgname=libmikmod version=3.2.0 -revision=1 -subpackages="${pkgname}-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static" short_desc="MikMod Sound Library" @@ -27,3 +26,19 @@ long_desc=" due to its modular nature, the library can be extended to support more sound or module formats, as well as new hardware or other sound output capabilities, as they appear." + +libmikmod-devel_package() { + depends="libmikmod>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/share + } +} + +libmikmod_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmms/libmms-devel.template b/srcpkgs/libmms/libmms-devel.template deleted file mode 100644 index ac11fe896c..0000000000 --- a/srcpkgs/libmms/libmms-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libmms-devel'. -# -depends="pkg-config glib-devel libmms" -short_desc="${short_desc} - 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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libmms/template b/srcpkgs/libmms/template index f8f2e15c48..86239a9c6e 100644 --- a/srcpkgs/libmms/template +++ b/srcpkgs/libmms/template @@ -1,26 +1,43 @@ # Template file for 'libmms' pkgname=libmms version=0.6 -revision=5 -distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" -makedepends="pkg-config glib-devel" +revision=6 +hostmakedepends="pkg-config" +makedepends="libglib-devel" short_desc="MMS stream protocol library" homepage="http://sourceforge.net/projects/libmms/" license="LGPL-2.1" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=1f894f33b5e0334bd7c75343480bdf3a9cf79232aa92085c03f1a67e7d4ceb9d long_desc=" libmms is a library for downloading (streaming) media files using the mmst and mmsh protocols." -subpackages="$pkgname-devel" - -do_build() -{ - ./configure --prefix=/usr CFLAGS="-fPIC -DPIC" && make ${makejobs} +do_configure() { + ./configure ${CONFIGURE_SHARED_ARGS} CFLAGS="-fPIC -DPIC" } -do_install() -{ +do_build() { + make ${makejobs} +} + +do_install() { make DESTDIR=${DESTDIR} install } + +libmms-devel_package() { + depends="libglib-devel libmms>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libmms_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmng/libmng-devel.template b/srcpkgs/libmng/libmng-devel.template deleted file mode 100644 index 95d2af73e9..0000000000 --- a/srcpkgs/libmng/libmng-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libmng-devel'. -# -depends="libjpeg-turbo-devel zlib-devel lcms-devel libmng>=${version}" -short_desc="${short_desc} -- development files" -noarch=yes - -do_install() { - mkdir -p ${DESTDIR}/usr/lib - mkdir -p ${DESTDIR}/usr/share/man - - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man -} diff --git a/srcpkgs/libmng/template b/srcpkgs/libmng/template index e1dda2892e..49d1e2d7e5 100644 --- a/srcpkgs/libmng/template +++ b/srcpkgs/libmng/template @@ -1,11 +1,11 @@ # Template build file for 'libmng'. pkgname=libmng version=1.0.10 -revision=6 -subpackages="$pkgname-devel" +revision=7 build_style=gnu-configure configure_args="--disable-static" -makedepends="automake libtool libjpeg-turbo-devel zlib-devel lcms-devel" +hostmakedepends="automake libtool" +makedepends="libjpeg-turbo-devel zlib-devel lcms-devel" short_desc="Multiple-image Network Graphics (MNG) reference library" maintainer="Juan RP " homepage="http://www.libmng.com" @@ -18,3 +18,18 @@ pre_configure() { ln -s makefiles/Makefile.am . autoreconf -fi } + +libmng-devel_package() { + depends="libjpeg-turbo-devel zlib-devel lcms-devel libmng>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/share/man/man3 + } +} + +libmng_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmodplug/libmodplug-devel.template b/srcpkgs/libmodplug/libmodplug-devel.template deleted file mode 100644 index bfd2701c6f..0000000000 --- a/srcpkgs/libmodplug/libmodplug-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libmodplug-devel'. -# -depends="libmodplug>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libmodplug/template b/srcpkgs/libmodplug/template index f0511eb68a..7a8c00c36b 100644 --- a/srcpkgs/libmodplug/template +++ b/srcpkgs/libmodplug/template @@ -2,7 +2,6 @@ pkgname=libmodplug version=0.8.8.3 revision=3 -subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--enable-static" short_desc="A MOD playing library" @@ -17,3 +16,19 @@ long_desc=" written and released to the public domain by Olivier Lapicque. mod, .s3m, .it, .xm, and a number of lesser-known formats are supported. Optional features include high-quality resampling, bass expansion, surround and reverb." + +libmodplug-devel_package() { + depends="libmodplug>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libmodplug_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmowgli/libmowgli-devel.template b/srcpkgs/libmowgli/libmowgli-devel.template deleted file mode 100644 index 85ba9e8443..0000000000 --- a/srcpkgs/libmowgli/libmowgli-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libmowgli-devel'. -# -noarch=yes -depends="openssl-devel libmowgli>=${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/pkgconfig usr/lib -} diff --git a/srcpkgs/libmowgli/template b/srcpkgs/libmowgli/template index e29cd90cfb..0856511205 100644 --- a/srcpkgs/libmowgli/template +++ b/srcpkgs/libmowgli/template @@ -1,7 +1,7 @@ # Template file for 'libmowgli' pkgname=libmowgli version=2.0.0 -revision=3 +revision=4 build_style=gnu-configure makedepends="openssl-devel" short_desc="Performance and usability-oriented extensions to C" @@ -10,11 +10,22 @@ homepage="http://www.atheme.org/project/mowgli" license="MIT" distfiles="http://atheme.org/downloads/${pkgname}-${version}.tar.gz" checksum=7c5a94082899d055fc9a02b94e2658b42616fdb98e58e9a71165c07b6f5cceba -long_desc=" - Performance and usability-oriented extensions to C." - -subpackages="${pkgname}-devel" post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} } + +libmowgli-devel_package() { + depends="openssl-devel libmowgli>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libmowgli_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmp4v2/libmp4v2-devel.template b/srcpkgs/libmp4v2/libmp4v2-devel.template deleted file mode 100644 index 6dde1d4591..0000000000 --- a/srcpkgs/libmp4v2/libmp4v2-devel.template +++ /dev/null @@ -1,9 +0,0 @@ -# Template file for 'libmp4v2-devel'. -# -depends="libmp4v2>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libmp4v2/mpeg4ip.template b/srcpkgs/libmp4v2/mpeg4ip.template deleted file mode 100644 index f6f7cfa8e8..0000000000 --- a/srcpkgs/libmp4v2/mpeg4ip.template +++ /dev/null @@ -1,8 +0,0 @@ -# Template file for 'mpeg4ip'. -# -short_desc="MPEG-4 tools from mpeg4ip" - -do_install() { - vmove usr/bin usr - vmove usr/share usr -} diff --git a/srcpkgs/libmp4v2/template b/srcpkgs/libmp4v2/template index f94e7697c6..aac1f40314 100644 --- a/srcpkgs/libmp4v2/template +++ b/srcpkgs/libmp4v2/template @@ -3,7 +3,6 @@ pkgname=libmp4v2 version=2.0.0 revision=2 wrksrc="mp4v2-${version}" -subpackages="${pkgname}-devel mpeg4ip" build_style=gnu-configure make_install_args="install-man" short_desc="MPEG-4 library from mpeg4ip" @@ -12,3 +11,27 @@ homepage="http://code.google.com/p/mp4v2/" license="MPL-1.1" distfiles="http://mp4v2.googlecode.com/files/mp4v2-${version}.tar.bz2" checksum=0319b9a60b667cf10ee0ec7505eb7bdc0a2e21ca7a93db96ec5bd758e3428338 + +libmp4v2-devel_package() { + depends="libmp4v2>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +libmp4v2_package() { + pkg_install() { + vmove "usr/lib/*.so*" + } +} + +mpeg4ip_package() { + short_desc="MPEG-4 tools from mpeg4ip" + pkg_install() { + vmove usr/bin + vmove usr/share + } +} + diff --git a/srcpkgs/libmpcdec/libmpcdec-devel.template b/srcpkgs/libmpcdec/libmpcdec-devel.template deleted file mode 100644 index bad5a58076..0000000000 --- a/srcpkgs/libmpcdec/libmpcdec-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libmpcdec-devel'. -# -depends="libmpcdec>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libmpcdec/template b/srcpkgs/libmpcdec/template index dfbcac6382..1a7fd9b5a4 100644 --- a/srcpkgs/libmpcdec/template +++ b/srcpkgs/libmpcdec/template @@ -20,3 +20,18 @@ long_desc=" It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code." + +libmpcdec-devel_package() { + depends="libmpcdec>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +libmpcdec_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmpeg2/libmpeg2-devel.template b/srcpkgs/libmpeg2/libmpeg2-devel.template deleted file mode 100644 index c827f1f60f..0000000000 --- a/srcpkgs/libmpeg2/libmpeg2-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libmpeg2-devel'. -# -depends="pkg-config libICE-devel libSM-devel libX11-devel libXext-devel libXv-devel SDL-devel libmpeg2" -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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libmpeg2/mpeg2dec.template b/srcpkgs/libmpeg2/mpeg2dec.template deleted file mode 100644 index 131ac5f369..0000000000 --- a/srcpkgs/libmpeg2/mpeg2dec.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'mpeg2dec'. -# -short_desc="Simple libmpeg2 video decoder application" -long_desc=" - Simple libmpeg2 application which can decode and play ES, PS, and TS - video streams. Includes extract_mpeg2 demuxer and various output drivers." - - -do_install() -{ - mkdir -p ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libmpeg2/template b/srcpkgs/libmpeg2/template index ac0e323b88..a1fda1f94c 100644 --- a/srcpkgs/libmpeg2/template +++ b/srcpkgs/libmpeg2/template @@ -1,18 +1,42 @@ # Template file for 'libmpeg2' pkgname=libmpeg2 version=0.5.1 -revision=6 -distfiles="http://libmpeg2.sourceforge.net/files/$pkgname-$version.tar.gz" +revision=7 build_style=gnu-configure configure_args="--enable-shared" -makedepends="pkg-config libX11-devel libXext-devel libXv-devel SDL-devel" +hostmakedepends="pkg-config" +makedepends="libX11-devel libXext-devel libXv-devel SDL-devel" short_desc="Library for decoding MPEG-2 and MPEG-1 video streams" homepage="http://libmpeg2.sourceforge.net/" license="GPL-2" maintainer="Juan RP " +distfiles="http://libmpeg2.sourceforge.net/files/$pkgname-$version.tar.gz" checksum=dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4 long_desc=" libmpeg2 is a free library for decoding MPEG-2 and MPEG-1 video streams acclaimed to be the fastest around." -subpackages="$pkgname-devel mpeg2dec" +libmpeg2-devel_package() { + depends="libXext-devel libXv-devel SDL-devel libmpeg2>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libmpeg2_package() { + pkg_install() { + vmove "usr/lib/*.so*" + } +} + +mpeg2dec_package() { + short_desc="Simple libmpeg2 video decoder application" + pkg_install() { + vmove usr/bin + vmove usr/share + } +} + diff --git a/srcpkgs/libmtp/libmtp-devel.template b/srcpkgs/libmtp/libmtp-devel.template deleted file mode 100644 index bcc79d7af7..0000000000 --- a/srcpkgs/libmtp/libmtp-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libmtp-devel'. -# -noarch=yes -depends="libusb-devel libmtp>=${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/pkgconfig usr/lib -} diff --git a/srcpkgs/libmtp/template b/srcpkgs/libmtp/template index 09c9882c65..17f3d59df2 100644 --- a/srcpkgs/libmtp/template +++ b/srcpkgs/libmtp/template @@ -1,11 +1,11 @@ # Template file for 'libmtp' pkgname=libmtp version=1.1.5 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static --with-udev=/usr/lib/udev" -subpackages="$pkgname-devel" -makedepends="pkg-config libusb-devel libgcrypt-devel" +hostmakedepends="pkg-config" +makedepends="libusb-devel libgcrypt-devel" short_desc="Library for Microsoft's Media Transfer Protocol (MTP)" maintainer="Juan RP " homepage="http://libmtp.sourceforge.net" @@ -16,3 +16,18 @@ long_desc=" libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP) in the form of a library suitable primarily for POSIX compliant operating systems." + +libmtp-devel_package() { + depends="libusb-devel libmtp>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libmtp_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmusicbrainz/libmusicbrainz-devel.template b/srcpkgs/libmusicbrainz/libmusicbrainz-devel.template deleted file mode 100644 index e4f7739af2..0000000000 --- a/srcpkgs/libmusicbrainz/libmusicbrainz-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libmusicbrainz-devel'. -# -depends="neon-devel libdiscid-devel libmusicbrainz" -short_desc="${short_desc} (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/libmusicbrainz/template b/srcpkgs/libmusicbrainz/template index c069e8eb78..dbbd0517be 100644 --- a/srcpkgs/libmusicbrainz/template +++ b/srcpkgs/libmusicbrainz/template @@ -1,18 +1,31 @@ # Template file for 'libmusicbrainz' pkgname=libmusicbrainz version=3.0.3 -homepage="http://musicbrainz.org/" -distfiles="ftp://ftp.musicbrainz.org/pub/musicbrainz/$pkgname-$version.tar.gz" -build_style=cmake revision=2 -makedepends="cmake neon-devel libdiscid-devel" +build_style=cmake +hostmakedepends="cmake" +makedepends="neon-devel libdiscid-devel" short_desc="Library That Provides Access to the MusicBrainz Server" maintainer="Juan RP " license="LGPL-2.1" +homepage="http://musicbrainz.org/" +distfiles="ftp://ftp.musicbrainz.org/pub/musicbrainz/$pkgname-$version.tar.gz" checksum=7fd459a9fd05be9faec60a9a21caa9a1e9fda03147d58d8c7c95f33582a738c5 long_desc=" MusicBrainz is an open music encyclopedia that collects, and makes available to the public, music metadata." -subpackages="$pkgname-devel" +libmusicbrainz-devel_package() { + depends="neon-devel libdiscid-devel libmusicbrainz>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} +libmusicbrainz_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libmusicbrainz5/libmusicbrainz5-devel.template b/srcpkgs/libmusicbrainz5/libmusicbrainz5-devel.template deleted file mode 100644 index d58aedd853..0000000000 --- a/srcpkgs/libmusicbrainz5/libmusicbrainz5-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libmusicbrainz5-devel'. -# -noarch=yes -depends="neon-devel libmusicbrainz5>=${version}" -short_desc="${short_desc} (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/libmusicbrainz5/template b/srcpkgs/libmusicbrainz5/template index 6b45a713bf..161c077619 100644 --- a/srcpkgs/libmusicbrainz5/template +++ b/srcpkgs/libmusicbrainz5/template @@ -1,11 +1,11 @@ # Template file for 'libmusicbrainz5' pkgname=libmusicbrainz5 version=5.0.1 -revision=1 +revision=2 build_style=cmake -subpackages="$pkgname-devel" wrksrc="libmusicbrainz-${version}" -makedepends="cmake neon-devel" +hostmakedepends="cmake" +makedepends="neon-devel" short_desc="Library That Provides Access to the MusicBrainz Server (5.x)" maintainer="Juan RP " license="LGPL-2.1" @@ -15,3 +15,18 @@ checksum=1ca75e1c5059a3620b0d82633b1f468acc2a65fcc4305f844ec44f6fb5db82d5 long_desc=" MusicBrainz is an open music encyclopedia that collects, and makes available to the public, music metadata." + +libmusicbrainz5-devel_package() { + depends="neon-devel libmusicbrainz5>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libmusicbrainz5_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libnfs/libnfs-devel.template b/srcpkgs/libnfs/libnfs-devel.template deleted file mode 100644 index d5bb9bd1d5..0000000000 --- a/srcpkgs/libnfs/libnfs-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libnfs-devel'. -# -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libnfs/template b/srcpkgs/libnfs/template index fca932c1e0..56924584f2 100644 --- a/srcpkgs/libnfs/template +++ b/srcpkgs/libnfs/template @@ -1,12 +1,11 @@ # Template file for 'libnfs' pkgname=libnfs version=1.3.0 -revision=1 +revision=2 wrksrc="sahlberg-libnfs-47e5a2c" build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config automake" -subpackages="${pkgname}-devel" +hostmakedepends="pkg-config automake" short_desc="Client library for accessing NFS shares" maintainer="Juan RP " homepage="https://github.com/sahlberg/libnfs" @@ -17,3 +16,18 @@ checksum=0acda3029db699c3978684080843f71d222ad35b30a2ff0d220d144e98854948 pre_configure() { autoreconf -fi } + +libnfs-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libnfs_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libnfsidmap/libnfsidmap-devel.template b/srcpkgs/libnfsidmap/libnfsidmap-devel.template deleted file mode 100644 index 817c043cc3..0000000000 --- a/srcpkgs/libnfsidmap/libnfsidmap-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libnfsidmap-devel'. -# -noarch=yes -depends="libldap-devel libnfsidmap>=${version}" -short_desc="${short_desc} - 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 - vmove usr/share/man/man3 usr/share/man -} diff --git a/srcpkgs/libnfsidmap/template b/srcpkgs/libnfsidmap/template index c077519d18..1a509cb73b 100644 --- a/srcpkgs/libnfsidmap/template +++ b/srcpkgs/libnfsidmap/template @@ -1,7 +1,7 @@ # Template file for 'libnfsidmap' pkgname=libnfsidmap version=0.25 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static" makedepends="libldap-devel" @@ -17,4 +17,18 @@ long_desc=" When NFSv4 is using AUTH_GSS (which currently only supports Kerberos v5), the NFSv4 server mapping functions MUST use secure communications." -subpackages="$pkgname-devel" +libnfsidmap-devel_package() { + depends="libldap-devel libnfsidmap>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/man/man3 + } +} + +libnfsidmap_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libnice/libnice-devel.template b/srcpkgs/libnice/libnice-devel.template deleted file mode 100644 index 4927c9d291..0000000000 --- a/srcpkgs/libnice/libnice-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libnice-devel'. -# -noarch=yes -depends="glib-devel libnice>=${version}" -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,share} ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libnice/template b/srcpkgs/libnice/template index 7b28d92dbe..c1288ec02d 100644 --- a/srcpkgs/libnice/template +++ b/srcpkgs/libnice/template @@ -1,12 +1,12 @@ # Template file for 'libnice' pkgname=libnice version=0.1.3 -revision=2 +revision=3 subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config intltool gstreamer-devel gstreamer1-devel -libsoup-devel gupnp-igd-devel>=0.2.0" +hostmakedepends="pkg-config intltool" +makedepends="gstreamer-devel gstreamer1-devel libsoup-devel gupnp-igd-devel>=0.2.0" short_desc="An implementation of the IETF's draft ICE (for P2P UDP data streams)" maintainer="Juan RP " license="LGPL-2.1" @@ -25,4 +25,18 @@ long_desc=" Existing standards that use ICE include Session Initiation Protocol (SIP) and XMPP Jingle." +libnice-devel_package() { + depends="libglib-devel libnice>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share + } +} +libnice_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libnl/libnl-devel.template b/srcpkgs/libnl/libnl-devel.template deleted file mode 100644 index 5d1b1078a1..0000000000 --- a/srcpkgs/libnl/libnl-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libnl-devel'. -# -depends="libnl" -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/pkgconfig ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libnl/template b/srcpkgs/libnl/template index ab24683872..5cad88f25d 100644 --- a/srcpkgs/libnl/template +++ b/srcpkgs/libnl/template @@ -1,17 +1,30 @@ # Template file for 'libnl' pkgname=libnl version=1.1 -revision=4 -distfiles="ftp://ftp.archlinux.org/other/libnl/${pkgname}-${version}.tar.gz" +revision=5 build_style=gnu-configure short_desc="Library for applications dealing with netlink sockets" homepage="http://www.infradead.org/~tgr/libnl/" license="LGPL-2.1" maintainer="Juan RP " +distfiles="ftp://ftp.archlinux.org/other/libnl/${pkgname}-${version}.tar.gz" checksum=35cea4cfb6cd8af0cafa0f34fff81def5a1f193b8b8384299b4b21883e22edc3 long_desc=" libnl is a library for applications dealing with netlink sockets. The library provides an interface for raw netlink messaging and various netlink family specific interfaces." -subpackages="$pkgname-devel" +libnl-devel_package() { + depends="libnl>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libnl_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libnl3/libnl3-devel.template b/srcpkgs/libnl3/libnl3-devel.template deleted file mode 100644 index 38536ff801..0000000000 --- a/srcpkgs/libnl3/libnl3-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libnl-devel'. -# -noarch=yes -depends="libnl3>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libnl3/libnl3-progs.template b/srcpkgs/libnl3/libnl3-progs.template deleted file mode 100644 index 39743a8464..0000000000 --- a/srcpkgs/libnl3/libnl3-progs.template +++ /dev/null @@ -1,9 +0,0 @@ -# Template file for 'libnl-progs'. -# -short_desc="${short_desc} - cli utilities" - -do_install() { - vmove usr/sbin usr - vmove usr/share/man/man8 usr/share/man - vmove usr/lib/libnl usr/lib -} diff --git a/srcpkgs/libnl3/template b/srcpkgs/libnl3/template index 18cbcefc4e..9ebf88a458 100644 --- a/srcpkgs/libnl3/template +++ b/srcpkgs/libnl3/template @@ -1,13 +1,11 @@ # Template file for 'libnl3' pkgname=libnl3 version=3.2.11 -revision=2 +revision=3 wrksrc=libnl-${version} build_style=gnu-configure configure_args="--disable-static" hostmakedepends="flex" -subpackages="${pkgname}-progs ${pkgname}-devel" -conf_files="/etc/libnl/pktloc /etc/libnl/classid" short_desc="Netlink Protocol Library Suite" maintainer="Juan RP " license="LGPL-2.1" @@ -16,9 +14,35 @@ distfiles="${homepage}/files/libnl-${version}.tar.gz" checksum=9750409c0fec8b27966a65d94c040647ee01753e0947b0d59577b815ee0e710d if [ "$CROSS_BUILD" ]; then - hostmakedepends="automake flex" + hostmakedepends+=" automake libtool" makedepends="libfl-devel" pre_configure() { autoreconf -fi } fi + +libnl3-devel_package() { + depends="libnl3>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libnl3-progs_package() { + short_desc="${short_desc} - cli utilities" + pkg_install() { + vmove usr/sbin + vmove usr/share/man/man8 + vmove usr/lib/libnl + } +} + +libnl3_package() { + conf_files="/etc/libnl/pktloc /etc/libnl/classid" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/libnotify/libnotify-devel.template b/srcpkgs/libnotify/libnotify-devel.template deleted file mode 100644 index d05e5799a5..0000000000 --- a/srcpkgs/libnotify/libnotify-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libnotify-devel'. -# -depends="gdk-pixbuf-devel glib-devel libnotify>=0.7.5" -short_desc="${sourcepkg} development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/share usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libnotify/template b/srcpkgs/libnotify/template index 05e7e2eeb1..60e3ea67cf 100644 --- a/srcpkgs/libnotify/template +++ b/srcpkgs/libnotify/template @@ -1,19 +1,33 @@ # Template file for 'libnotify' pkgname=libnotify version=0.7.5 -distfiles="${GNOME_SITE}/$pkgname/0.7/$pkgname-$version.tar.xz" +revision=2 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config glib-devel libpng-devel gdk-pixbuf-devel gtk+3-devel gobject-introspection" -revision=1 +hostmakedepends="pkg-config gobject-introspection" +makedepends="libglib-devel libpng-devel gdk-pixbuf-devel gtk+3-devel" short_desc="Desktop notification library" maintainer="Juan RP " homepage="http://library.gnome.org/devel/notification-spec/" license="LGPL-2.1" +distfiles="${GNOME_SITE}/$pkgname/0.7/$pkgname-$version.tar.xz" checksum=4378cb47874ba4d5f759b7890d8d28d086e81d3f0bd4f6e84e5ab66d82ffb652 long_desc=" libnotify is an implementation of the freedesktop.org desktop notification specification." -subpackages="$pkgname-devel" +libnotify-devel_package() { + depends="gdk-pixbuf-devel libglib-devel libnotify>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + } +} +libnotify_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libnsbmp/libnsbmp-devel.template b/srcpkgs/libnsbmp/libnsbmp-devel.template deleted file mode 100644 index 5222c0e5cc..0000000000 --- a/srcpkgs/libnsbmp/libnsbmp-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libnsbmp-devel'. -# -depends="libnsbmp" -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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libnsbmp/template b/srcpkgs/libnsbmp/template index f45580ff98..9637456bec 100644 --- a/srcpkgs/libnsbmp/template +++ b/srcpkgs/libnsbmp/template @@ -1,13 +1,13 @@ # Template build file for 'libnsbmp'. pkgname=libnsbmp version=0.0.3 -revision=3 +revision=4 homepage="http://www.netsurf-browser.org" -distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" short_desc="Decoding library for BMP and ICO images in C." maintainer="davehome " -checksum=6d8802cef5fac21528442cc303c05cef576f75138bf227e12e755c071cd57387 license="MIT" +distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" +checksum=6d8802cef5fac21528442cc303c05cef576f75138bf227e12e755c071cd57387 long_desc=" libnsbmp is a decoding library for BMP and ICO image file formats, written in C. It was developed as part of the NetSurf project and is available for @@ -17,8 +17,6 @@ long_desc=" Decodes BMP files Decodes ICO files" -subpackages="${pkgname}-devel" - do_build() { make ${makejobs} COMPONENT_TYPE=lib-shared make ${makejobs} COMPONENT_TYPE=lib-static @@ -32,3 +30,19 @@ do_install() { vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}" } + +libnsbmp-devel_package() { + depends="libnsbmp>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libnsbmp_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libnsgif/libnsgif-devel.template b/srcpkgs/libnsgif/libnsgif-devel.template deleted file mode 100644 index 72ecb65535..0000000000 --- a/srcpkgs/libnsgif/libnsgif-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libnsgif-devel'. -# -depends="libnsgif" -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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libnsgif/template b/srcpkgs/libnsgif/template index 7c2d6973ac..b5d3e3dca4 100644 --- a/srcpkgs/libnsgif/template +++ b/srcpkgs/libnsgif/template @@ -1,13 +1,13 @@ # Template build file for 'libnsgif'. pkgname=libnsgif version=0.0.3 -revision=3 -homepage="http://www.netsurf-browser.org" -distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" +revision=4 short_desc="Decoding library for the GIF image file format, written in C." maintainer="davehome " -checksum=7a1e6873bec6814289b653c630714246adc1040cc8b250c78bb309eaf8d5f19c +homepage="http://www.netsurf-browser.org" license="MIT" +distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" +checksum=7a1e6873bec6814289b653c630714246adc1040cc8b250c78bb309eaf8d5f19c long_desc=" libnsgif is a decoding library for the GIF image file format, written in C. It was developed as part of the NetSurf project and is available @@ -16,8 +16,6 @@ long_desc=" * Features Decodes GIF files" -subpackages="${pkgname}-devel" - do_build() { make ${makejobs} COMPONENT_TYPE=lib-shared make ${makejobs} COMPONENT_TYPE=lib-static @@ -31,3 +29,19 @@ do_install() { vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}" } + +libnsgif-devel_package() { + depends="libnsgif>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libnsgif_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/liboauth/liboauth-devel.template b/srcpkgs/liboauth/liboauth-devel.template deleted file mode 100644 index 0f384db31e..0000000000 --- a/srcpkgs/liboauth/liboauth-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libasyncns-devel'. -# -depends="libcurl-devel nss-devel liboauth" -short_desc="${short_desc} (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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/liboauth/template b/srcpkgs/liboauth/template index 64b911d1d4..e31f276a27 100644 --- a/srcpkgs/liboauth/template +++ b/srcpkgs/liboauth/template @@ -1,15 +1,15 @@ # Template file for 'liboauth' pkgname=liboauth version=0.9.4 -distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" +revision=3 build_style=gnu-configure configure_args="--enable-nss" homepage="http://liboauth.sourceforge.net" license="MIT" -revision=2 makedepends="pkg-config libcurl-devel nss-devel" short_desc="C library implementing OAuth Core RFC 5849" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=77e372359caca5375fbcc63ac638f349e6c93c98d291992d8ebb9bb8291ca549 long_desc=" liboauth is a collection of POSIX-c functions implementing the OAuth Core @@ -18,4 +18,19 @@ long_desc=" functionality to sign requests or verify OAuth signatures as well as perform HTTP requests." -subpackages="$pkgname-devel" +liboauth-devel_package() { + depends="libcurl-devel nss-devel liboauth>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +liboauth_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/liboil/liboil-devel.template b/srcpkgs/liboil/liboil-devel.template deleted file mode 100644 index aedc658857..0000000000 --- a/srcpkgs/liboil/liboil-devel.template +++ /dev/null @@ -1,19 +0,0 @@ -# Template file for 'liboil-devel'. -# -depends="glibc-devel liboil" -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 - mkdir -p ${DESTDIR}/usr/share - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share -} diff --git a/srcpkgs/liboil/template b/srcpkgs/liboil/template index a5cd52605c..5be34cb972 100644 --- a/srcpkgs/liboil/template +++ b/srcpkgs/liboil/template @@ -1,15 +1,15 @@ # Template build file for 'liboil'. pkgname=liboil version=0.3.17 -distfiles="http://liboil.freedesktop.org/download/$pkgname-$version.tar.gz" build_style=gnu-configure -revision=2 -makedepends="pkg-config" +revision=3 +hostmakedepends="pkg-config" short_desc="Library of Optimized Inner Loops, CPU optimized functions" maintainer="Juan RP " -checksum=105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69 homepage="${XORG_HOME}" license="BSD" +distfiles="http://liboil.freedesktop.org/download/$pkgname-$version.tar.gz" +checksum=105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69 long_desc=" Liboil is a library of simple functions that are optimized for various CPUs. These functions are generally loops implementing simple algorithms, such as @@ -18,4 +18,19 @@ long_desc=" significant optimization using various techniques, especially by using extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.)." -subpackages="$pkgname-devel" +liboil-devel_package() { + depends="liboil>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share/gtk-doc + } +} + +liboil_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libopenal/libopenal-devel.template b/srcpkgs/libopenal/libopenal-devel.template deleted file mode 100644 index 5a70d0d763..0000000000 --- a/srcpkgs/libopenal/libopenal-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libopenal-devel'. -# -noarch=yes -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} - 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/libopenal/template b/srcpkgs/libopenal/template index 74b6b5e094..7cf81ee5aa 100644 --- a/srcpkgs/libopenal/template +++ b/srcpkgs/libopenal/template @@ -1,10 +1,9 @@ # Template file for 'libopenal' pkgname=libopenal version=1.15 +revision=2 build_style=cmake wrksrc="openal-soft-${version}" -revision=1 -subpackages="${pkgname}-devel" short_desc="A cross-platform 3D audio library" maintainer="davehome " license="LGPL-2.1" @@ -24,8 +23,22 @@ long_desc=" the position where the sources are heard -- rendering is done from the perspective of the Listener." -# dlopen(3)d dependencies -depends="alsa-lib libpulseaudio SDL" +hostmakedepends="pkg-config cmake" +makedepends="alsa-lib-devel pulseaudio-devel SDL-devel ffmpeg-devel" -makedepends="pkg-config cmake alsa-lib-devel pulseaudio-devel - SDL-devel ffmpeg-devel" +libopenal-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libopenal_package() { + # dlopen(3)d dependencies + depends="alsa-lib libpulseaudio SDL" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libosinfo/libosinfo-devel.template b/srcpkgs/libosinfo/libosinfo-devel.template deleted file mode 100644 index 8f5a27f9e0..0000000000 --- a/srcpkgs/libosinfo/libosinfo-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libosinfo-devel'. -# -noarch=yes -depends="glib-devel ${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 - vmove usr/share/gir-1.0 usr/share - vmove usr/share/vala usr/share -} diff --git a/srcpkgs/libosinfo/template b/srcpkgs/libosinfo/template index 5ac560666f..ce577d3a56 100644 --- a/srcpkgs/libosinfo/template +++ b/srcpkgs/libosinfo/template @@ -1,12 +1,12 @@ # Template file for 'libosinfo' pkgname=libosinfo version=0.2.1 -revision=1 -subpackages="${pkgname}-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static --disable-tests" -makedepends="pkg-config glib-devel libsoup-gnome-devel libxml2-devel - libxslt-devel gobject-introspection vala-devel" +hostmakedepends="pkg-config gobject-introspection" +makedepends="libglib-devel libsoup-gnome-devel libxml2-devel + libxslt-devel vala-devel" short_desc="GObject based library API for managing info about operating systems" maintainer="davehome " homepage="https://fedorahosted.org/libosinfo/" @@ -16,3 +16,20 @@ checksum=37a5ae12b01a3367220ba44d4ace7065dc40972e82eb2439059c5f11724ecda5 long_desc=" GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support." + +libosinfo-devel_package() { + depends="libglib-devel ${sourcepkg}-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/vala + } +} + +libosinfo_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libparserutils/libparserutils-devel.template b/srcpkgs/libparserutils/libparserutils-devel.template deleted file mode 100644 index 3b23fd51e2..0000000000 --- a/srcpkgs/libparserutils/libparserutils-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libparserutils-devel'. -# -depends="libparserutils" -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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libparserutils/template b/srcpkgs/libparserutils/template index 3137266628..10efe2fdd4 100644 --- a/srcpkgs/libparserutils/template +++ b/srcpkgs/libparserutils/template @@ -1,14 +1,14 @@ # Template build file for 'libnsgif'. pkgname=libparserutils version=0.1.1 -revision=4 -homepage="http://www.netsurf-browser.org" -distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" +revision=5 makedepends="perl" short_desc="Library for building efficient parsers, written in C." maintainer="davehome " -checksum=2d3f1887d3027b7df1fcacd5f74aba16d3c22a86c169816cd712857a1be0aaf3 +homepage="http://www.netsurf-browser.org" license="MIT" +distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" +checksum=2d3f1887d3027b7df1fcacd5f74aba16d3c22a86c169816cd712857a1be0aaf3 long_desc=" LibParserUtils is a library for building efficient parsers, written in C. It was developed as part of the NetSurf project and is available @@ -26,9 +26,6 @@ long_desc=" Portable Shared library" -subpackages="${pkgname}-devel" - - do_build() { make ${makejobs} COMPONENT_TYPE=lib-shared make ${makejobs} COMPONENT_TYPE=lib-static @@ -42,3 +39,19 @@ do_install() { vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}" } + +libparserutils-devel_package() { + depends="libparserutils>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libparserutils_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libpcap/libpcap-devel.template b/srcpkgs/libpcap/libpcap-devel.template deleted file mode 100644 index 13e32760ff..0000000000 --- a/srcpkgs/libpcap/libpcap-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libpcap-devel'. -# -depends="libnl3-devel libpcap>=$version" -short_desc="${short_desc} -- development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -do_install() { - vmove usr/include usr - vmove usr/bin usr - vmove usr/share/man usr/share - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libpcap/template b/srcpkgs/libpcap/template index 6a239f4e24..5c0391a1f6 100644 --- a/srcpkgs/libpcap/template +++ b/srcpkgs/libpcap/template @@ -1,12 +1,11 @@ # Template file for 'libpcap' pkgname=libpcap version=1.3.0 -revision=3 +revision=4 build_style=gnu-configure configure_args="--enable-ipv6 --with-libnl --with-pcap=linux" hostmakedepends="automake pkg-config flex" -makedepends="libfl-devel libnl3-devel" -subpackages="$pkgname-devel" +makedepends="libnl3-devel" short_desc="System-independent interface for user-level packet capture" maintainer="Juan RP " homepage="http://www.tcpdump.org/" @@ -24,6 +23,10 @@ long_desc=" alleviate the need for several system-dependent packet capture modules in each application." +if [ "$CROSS_BUILD" ]; then + makedepends+=" libfl-devel" +fi + pre_configure() { autoreconf -fi } @@ -31,3 +34,20 @@ pre_configure() { post_install() { vinstall LICENSE 644 usr/share/licenses/$pkgname } + +libpcap-devel_package() { + depends="libnl3-devel libpcap>=$version" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/bin + vmove usr/share/man + vmove "usr/lib/*.a" + } +} + +libpcap_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libpeas/libpeas-devel.template b/srcpkgs/libpeas/libpeas-devel.template deleted file mode 100644 index 6bc5c21224..0000000000 --- a/srcpkgs/libpeas/libpeas-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libpeas-devel'. -# -depends="glib-devel gtk+3-devel>=3.8 libgirepository-devel - ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gir-1.0 usr/share - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libpeas/template b/srcpkgs/libpeas/template index 28a1661721..b6fd8fe71b 100644 --- a/srcpkgs/libpeas/template +++ b/srcpkgs/libpeas/template @@ -1,11 +1,9 @@ # Template file for 'libpeas' pkgname=libpeas version=1.8.0 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--without-demo --disable-demo" -depends="pygobject hicolor-icon-theme" hostmakedepends="pkg-config intltool gobject-introspection" makedepends="vala-devel>=0.20 libgirepository-devel gjs-devel gtk+3-devel>=3.8 libseed-devel python-devel pygobject-devel" @@ -28,3 +26,22 @@ post_install() { # Remove demo. rm -rf ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/peas-demo } + +libpeas-devel_package() { + depends="libglib-devel gtk+3-devel>=3.8 libgirepository-devel + ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + } +} + +libpeas_package() { + depends="pygobject hicolor-icon-theme" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libpipeline/libpipeline-devel.template b/srcpkgs/libpipeline/libpipeline-devel.template deleted file mode 100644 index 66e2701191..0000000000 --- a/srcpkgs/libpipeline/libpipeline-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libpipeline-devel'. -# -noarch=yes -depends="glibc-devel libpipeline>=$version" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/share usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libpipeline/template b/srcpkgs/libpipeline/template index d77e2d74a5..9bcc330db1 100644 --- a/srcpkgs/libpipeline/template +++ b/srcpkgs/libpipeline/template @@ -1,12 +1,27 @@ # Template file for 'libpipeline' pkgname=libpipeline version=1.2.2 -revision=2 +revision=3 build_style=gnu-configure -subpackages="$pkgname-devel" short_desc="A pipeline manipulation library" maintainer="Juan RP " homepage="http://libpipeline.nongnu.org/" license="GPL-2" distfiles="${NONGNU_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=6b0e6be44479051196f80baeefeefa5fbdac428a7149b3858998769f461ba198 + +libpipeline-devel_package() { + depends="libpipeline>=$version" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + } +} + +libpipeline_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libplist/libplist++.template b/srcpkgs/libplist/libplist++.template deleted file mode 100644 index b909484fc5..0000000000 --- a/srcpkgs/libplist/libplist++.template +++ /dev/null @@ -1,7 +0,0 @@ -# Template file for 'libplist++'. -# -short_desc="${sourcepkg} C++ runtime library" - -do_install() { - vmove "usr/lib/libplist++.*" usr/lib -} diff --git a/srcpkgs/libplist/libplist-devel.template b/srcpkgs/libplist/libplist-devel.template deleted file mode 100644 index bc50b3eb24..0000000000 --- a/srcpkgs/libplist/libplist-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libplist-devel'. -# -noarch=yes -depends="libplist++>=${version} libplist>=${version}" -short_desc="${sourcepkg} development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libplist/libplist-python.template b/srcpkgs/libplist/libplist-python.template deleted file mode 100644 index 385d60551b..0000000000 --- a/srcpkgs/libplist/libplist-python.template +++ /dev/null @@ -1,7 +0,0 @@ -# Template file for 'libplist-python'. -# -short_desc="${sourcepkg} Python bindings" - -do_install() { - vmove usr/lib/python2.7 usr/lib -} diff --git a/srcpkgs/libplist/template b/srcpkgs/libplist/template index 967ee929dc..302a92fd21 100644 --- a/srcpkgs/libplist/template +++ b/srcpkgs/libplist/template @@ -1,11 +1,11 @@ # Template file for 'libplist' pkgname=libplist version=1.8 -revision=2 -subpackages="${pkgname}++ ${pkgname}-python ${pkgname}-devel" +revision=3 build_style=cmake configure_args="-DCMAKE_SKIP_RPATH=ON" -makedepends="cmake swig python-devel glib-devel libxml2-devel Cython" +hostmakedepends="cmake swig python-devel Cython" +makedepends="libglib-devel libxml2-devel" short_desc="Apple Property List library" maintainer="Juan RP " license="GPL-2, LGPL-2.1" @@ -14,3 +14,32 @@ distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.b checksum=a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec disable_parallel_build=yes + +libplist++_package() { + short_desc+=" -- C++ runtime library" + pkg_install() { + vmove "usr/lib/libplist++.*" + } +} + +libplist-python_package() { + short_desc+=" -- Python bindings" + pkg_install() { + vmove usr/lib/python2.7 + } +} + +libplist-devel_package() { + depends="libplist++>=${version} libplist>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libplist_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libproxy/libproxy-devel.template b/srcpkgs/libproxy/libproxy-devel.template deleted file mode 100644 index 6eacf7323f..0000000000 --- a/srcpkgs/libproxy/libproxy-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libproxy-devel'. -# -depends="pkg-config libproxy>=0.4.7" -short_desc="${sourcepkg} development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/share usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libproxy/libproxy-python.template b/srcpkgs/libproxy/libproxy-python.template deleted file mode 100644 index 1c63f1cd06..0000000000 --- a/srcpkgs/libproxy/libproxy-python.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libproxy-python'. -# -depends="libproxy>=0.4.7 python" -short_desc="${sourcepkg} python bindings" -long_desc="${long_desc} - - This package contains the python bindings." - - -do_install() { - vmove "usr/lib/python*" usr/lib -} diff --git a/srcpkgs/libproxy/template b/srcpkgs/libproxy/template index 07c286d1ee..00d861d9d1 100644 --- a/srcpkgs/libproxy/template +++ b/srcpkgs/libproxy/template @@ -1,12 +1,11 @@ # Template file for 'libproxy' pkgname=libproxy version=0.4.10 -revision=1 -subpackages="$pkgname-devel $pkgname-python" +revision=2 build_style=cmake configure_args="-DWITH_GNOME=0 -DWITH_KDE4=0 -DWITH_MOZJS=0 -DWITH_NM=0 -DWITH_PERL=0 -DWITH_PYTHON=1 -DWITH_WEBKIT=0" -makedepends="pkg-config python cmake" +hostmakedepends="pkg-config python cmake" short_desc="A library handling all the details of proxy configuration" maintainer="Juan RP " homepage="http://libproxy.googlecode.com" @@ -25,3 +24,27 @@ long_desc=" * dynamic adjustment to changing network topology * a standard way of dealing with proxy settings across all scenarios * a sublime sense of joy and accomplishment" + +libproxy-devel_package() { + depends="libproxy>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + } +} + +libproxy-python_package() { + depends="libproxy>=${version} python" + short_desc+=" -- python bindings" + pkg_install() { + vmove "usr/lib/python*" + } +} + +libproxy_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libpwquality/libpwquality-devel.template b/srcpkgs/libpwquality/libpwquality-devel.template deleted file mode 100644 index 39a917611d..0000000000 --- a/srcpkgs/libpwquality/libpwquality-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libpwquality-devel'. -# -depends="${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} -- development files" -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libpwquality/template b/srcpkgs/libpwquality/template index 093832290f..285facf9dd 100644 --- a/srcpkgs/libpwquality/template +++ b/srcpkgs/libpwquality/template @@ -1,13 +1,11 @@ # Template file for 'libpwquality' pkgname=libpwquality version=1.2.0 -revision=2 +revision=3 build_style=gnu-configure configure_args="--disable-static --enable-pam --disable-python-bindings --with-securedir=/usr/lib/security" makedepends="pam-devel" -subpackages="$pkgname-devel" -conf_files="/etc/security/pwquality.conf" short_desc="Library for password quality checking and generating random passwords" maintainer="Juan RP " homepage="https://fedorahosted.org/libpwquality/" @@ -16,8 +14,25 @@ distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar. checksum=32cfbe302ade7e7271ed44bcae8aae3b6b55ca56ff642c4ece1752ffaa8003ee if [ "$CROSS_BUILD" ]; then - hostmakedepends="automake gettext-devel" + hostmakedepends="libtool automake gettext-devel" pre_configure() { autoreconf -fi } fi + +libpwquality-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libpwquality_package() { + conf_files="/etc/security/pwquality.conf" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/libquvi-scripts/template b/srcpkgs/libquvi-scripts/template index a4f1984b4b..1243bef2f7 100644 --- a/srcpkgs/libquvi-scripts/template +++ b/srcpkgs/libquvi-scripts/template @@ -2,10 +2,9 @@ pkgname=libquvi-scripts version=0.4.10 revision=1 -noarch=yes build_style=gnu-configure -makedepends="pkg-config" -fulldepends="lua" +hostmakedepends="pkg-config" +makedepends="lua" short_desc="Set of (lua) scripts for libquvi" maintainer="Juan RP " license="LGPL-2.1" @@ -24,3 +23,11 @@ long_desc=" * C API is simple to use This package contains a set of plugins for use with libquvi and/or quvi." + +libquvi-scripts_package() { + depends="lua" + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libquvi/libquvi-devel.template b/srcpkgs/libquvi/libquvi-devel.template deleted file mode 100644 index 04f0213ff1..0000000000 --- a/srcpkgs/libquvi/libquvi-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libquvi-devel'. -# -depends="libcurl-devel lua-devel libquvi" -short_desc="${short_desc} - development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -replaces="quvi-devel<0.4.0" - -do_install() -{ - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libquvi/template b/srcpkgs/libquvi/template index 24f3ea94bd..c683699190 100644 --- a/srcpkgs/libquvi/template +++ b/srcpkgs/libquvi/template @@ -1,15 +1,15 @@ # Template file for 'libquvi' pkgname=libquvi version=0.4.1 -homepage="http://quvi.sourceforge.net/" -distfiles="${SOURCEFORGE_SITE}/quvi/$pkgname-$version.tar.gz" +revision=3 build_style=gnu-configure -makedepends="pkg-config lua-devel libcurl-devel" -fulldepends="libquvi-scripts>=0.4.1" -revision=2 +hostmakedepends="pkg-config" +makedepends="lua-devel libcurl-devel libquvi-scripts>=0.4.1" short_desc="C library that can be used to parse flash media stream URLs" maintainer="Juan RP " license="LGPL-2.1" +homepage="http://quvi.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/quvi/$pkgname-$version.tar.gz" checksum=143c92b065b7ddc2ac87c4b9679ee99df0f1dccd2d0dbda15da0a54ae280dec8 long_desc=" It originates from the idea of working around the flash requirement found @@ -22,7 +22,22 @@ long_desc=" * Supports 40+ websites * C API is simple to use" -replaces="quvi<0.4.0" -subpackages="${pkgname}-devel" - +libquvi-devel_package() { + depends="libcurl-devel lua-devel libquvi>=${version}" + short_desc="${short_desc} - development files" + replaces="quvi-devel<0.4.0" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share + } +} +libquvi_package() { + depends="libquvi-scripts>=${version}" + replaces="quvi<0.4.0" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libraw/libraw-devel.template b/srcpkgs/libraw/libraw-devel.template deleted file mode 100644 index aee6a4a335..0000000000 --- a/srcpkgs/libraw/libraw-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libraw-devel'. -# -noarch=yes -depends="lcms2-devel jasper-devel libraw>=${version}" -short_desc="${short_desc} - 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/libraw/libraw-progs.template b/srcpkgs/libraw/libraw-progs.template deleted file mode 100644 index f793d8f7ff..0000000000 --- a/srcpkgs/libraw/libraw-progs.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libraw-progs'. -# -short_desc="${short_desc} - applications" -long_desc="${long_desc} - - This package contains applications provided by libraw." - -do_install() { - vmove usr/bin usr -} diff --git a/srcpkgs/libraw/template b/srcpkgs/libraw/template index 7a515afc11..93d04506b8 100644 --- a/srcpkgs/libraw/template +++ b/srcpkgs/libraw/template @@ -1,11 +1,12 @@ # Template file for 'libraw' pkgname=libraw version=0.14.7 -revision=1 +revision=2 wrksrc=LibRaw-${version} build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config lcms2-devel jasper-devel libgomp-devel" +hostmakedepends="pkg-config" +makedepends="lcms2-devel jasper-devel libgomp-devel" short_desc="Raw image decoder library" maintainer="Juan RP " license="GPL-2, CDDL, ${pkgname}" @@ -16,10 +17,30 @@ long_desc=" libraw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)." -subpackages="${pkgname}-devel ${pkgname}-progs" - post_install() { vmkdir usr/share/licenses rm -f ${DESTDIR}/usr/share/doc/libraw/Changelog.txt mv ${DESTDIR}/usr/share/doc/libraw ${DESTDIR}/usr/share/licenses } + +libraw-devel_package() { + depends="lcms2-devel jasper-devel libraw>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libraw-progs_package() { + short_desc="${short_desc} - applications" + pkg_install() { + vmove usr/bin + } +} + +libraw_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libreoffice-bin/template b/srcpkgs/libreoffice-bin/template index ac3a032b35..9220dd0f74 100644 --- a/srcpkgs/libreoffice-bin/template +++ b/srcpkgs/libreoffice-bin/template @@ -7,11 +7,11 @@ homepage="http://www.libreoffice.org/" license="LGPL-3" short_desc="Productivity suite compatible with other major office suites (binary build)" -if [ "${XBPS_MACHINE}" = "x86_64" ]; then +if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then _arch=x86-64 distfiles="http://download.documentfoundation.org/libreoffice/testing/${version%.*}/deb/x86_64/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz" checksum=e787adb0dc420a9c4ba2314109e706e5d90ab1d2c8371ebc100f280925346d96 -elif [ "${XBPS_MACHINE}" = "i686" ]; then +elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then _arch=x86 distfiles="http://download.documentfoundation.org/libreoffice/testing/${version%.*}/deb/x86/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz" checksum=91f1d4cc30ac6e6f25d5933a175f1fa648283a4d9dc564f831d942c0eb9baf19 @@ -52,3 +52,9 @@ do_install() { ln -fs ${p}/$a ${DESTDIR}/usr/bin/$a done } + +libreoffice-bin_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/librlog/librlog-devel.template b/srcpkgs/librlog/librlog-devel.template deleted file mode 100644 index 902a4fc31e..0000000000 --- a/srcpkgs/librlog/librlog-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'librlog-devel'. -# -noarch=yes -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/librlog/template b/srcpkgs/librlog/template index 4c9bc76bd2..c67b317e9e 100644 --- a/srcpkgs/librlog/template +++ b/srcpkgs/librlog/template @@ -1,8 +1,7 @@ # Template file for 'librlog' pkgname=librlog version=1.4 -revision=2 -subpackages="$pkgname-devel" +revision=3 build_style=gnu-configure short_desc="Flexible message logging facility for C++ programs and libraries" maintainer="tripledes " @@ -15,3 +14,18 @@ checksum=a938eeedeb4d56f1343dc5561bc09ae70b24e8f70d07a6f8d4b6eed32e783f79 post_install() { rm -rf ${DESTDIR}/usr/share/doc } + +librlog-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +librlog_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/librpcsecgss/librpcsecgss-devel.template b/srcpkgs/librpcsecgss/librpcsecgss-devel.template deleted file mode 100644 index fdb3d8c3af..0000000000 --- a/srcpkgs/librpcsecgss/librpcsecgss-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'librpcsecgss-devel'. -# -depends="libgssglue-devel librpcsecgss" -short_desc="${short_desc} - 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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/librpcsecgss/template b/srcpkgs/librpcsecgss/template index 06a851e0ce..0db10055f8 100644 --- a/srcpkgs/librpcsecgss/template +++ b/srcpkgs/librpcsecgss/template @@ -1,18 +1,32 @@ # Template file for 'librpcsecgss' pkgname=librpcsecgss version=0.19 -homepage="http://www.citi.umich.edu/projects/nfsv4/linux/" -distfiles="$homepage/$pkgname/$pkgname-$version.tar.gz" +revision=2 build_style=gnu-configure -makedepends="pkg-config libgssglue-devel" -revision=1 +hostmakedepends="pkg-config" +makedepends="libgssglue-devel" short_desc="Library for RPCSECGSS support" maintainer="Juan RP " license="BSD" +homepage="http://www.citi.umich.edu/projects/nfsv4/linux/" +distfiles="$homepage/$pkgname/$pkgname-$version.tar.gz" checksum=0cafb86b67e5eb4c89e8abaaad9165298946bc164d258e8925fc6dc1fa913abd long_desc=" This library implements RPCSECGSS (RFC 2203) which allows secure RPC communication using gss-api security mechanisms." -subpackages="$pkgname-devel" +librpcsecgss-devel_package() { + depends="libgssglue-devel librpcsecgss>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} +librpcsecgss_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/librsvg/librsvg-devel.template b/srcpkgs/librsvg/librsvg-devel.template deleted file mode 100644 index 453a321a04..0000000000 --- a/srcpkgs/librsvg/librsvg-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'librsvg-devel'. -# -depends="gdk-pixbuf-devel cairo-devel libcroco-devel - ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gtk-doc usr/share - vmove usr/share/gir-1.0 usr/share -} diff --git a/srcpkgs/librsvg/template b/srcpkgs/librsvg/template index 0070d4f744..d75066c159 100644 --- a/srcpkgs/librsvg/template +++ b/srcpkgs/librsvg/template @@ -1,14 +1,11 @@ # Template build file for 'librsvg'. pkgname=librsvg version=2.37.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static --enable-introspection" -depends="gdk-pixbuf>=2.26.1_2" hostmakedepends="pkg-config intltool python gobject-introspection" makedepends="libpng-devel>=1.5.10 libcroco-devel gtk+-devel gtk+3-devel" -triggers="gtk-pixbuf-loaders" -subpackages="$pkgname-devel" short_desc="SVG library for GNOME" maintainer="Juan RP " homepage="http://librsvg.sourceforge.net/" @@ -21,3 +18,23 @@ long_desc=" This package provides the librsvg library as well as some addons: a pixbuf loader and a theme engine for the GTK+ toolkit." + +librsvg-devel_package() { + depends="gdk-pixbuf-devel cairo-devel libcroco-devel + ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + vmove usr/share/gir-1.0 + } +} + +librsvg_package() { + depends="gdk-pixbuf>=2.26.1_2" + triggers="gtk-pixbuf-loaders" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libsamplerate/libsamplerate-devel.template b/srcpkgs/libsamplerate/libsamplerate-devel.template deleted file mode 100644 index e3eb8debc3..0000000000 --- a/srcpkgs/libsamplerate/libsamplerate-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libsamplerate-devel'. -# -depends="libsndfile-devel ${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - mkdir -p ${DESTDIR}/usr/{share,lib} - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share -} diff --git a/srcpkgs/libsamplerate/template b/srcpkgs/libsamplerate/template index 7e894ec38e..9bc4f44159 100644 --- a/srcpkgs/libsamplerate/template +++ b/srcpkgs/libsamplerate/template @@ -2,7 +2,6 @@ pkgname=libsamplerate version=0.1.8 revision=2 -subpackages="${pkgname}-devel" build_style=gnu-configure configure_args="CFLAGS=-fPIC" hostmakedepends="pkg-config" @@ -22,3 +21,20 @@ long_desc=" means that the ratio of input and output sample rates can be an irrational number. The conversion ratio can also vary with time for speeding up and slowing down effects." + +libsamplerate-devel_package() { + depends="libsndfile-devel ${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share/doc + } +} + +libsamplerate_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libsasl/libsasl-devel.template b/srcpkgs/libsasl/libsasl-devel.template deleted file mode 100644 index e7444b587e..0000000000 --- a/srcpkgs/libsasl/libsasl-devel.template +++ /dev/null @@ -1,8 +0,0 @@ -# Template file for 'libsasl-devel'. -# -depends="db-devel libsasl>=${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr -} diff --git a/srcpkgs/libsasl/template b/srcpkgs/libsasl/template index 959c3eb314..1e563d086c 100644 --- a/srcpkgs/libsasl/template +++ b/srcpkgs/libsasl/template @@ -3,7 +3,6 @@ pkgname=libsasl version=2.1.25 revision=1 build_style=gnu-configure -subpackages="${pkgname}-devel" makedepends="openssl-devel" wrksrc="cyrus-sasl-${version}" short_desc="Cyrus SASL - runtime shared libraries" @@ -31,3 +30,17 @@ post_install() { # We are only interested in libsasl. rm -rf ${DESTDIR}/usr/{sbin,share,lib/sasl2} } + +libsasl-devel_package() { + depends="db-devel libsasl>=${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + } +} + +libsasl_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libseccomp/libseccomp-devel.template b/srcpkgs/libseccomp/libseccomp-devel.template deleted file mode 100644 index b4f5549a11..0000000000 --- a/srcpkgs/libseccomp/libseccomp-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libseccomp-devel'. -# -noarch=yes -depends="${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} -- 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 - vmove usr/share usr -} diff --git a/srcpkgs/libseccomp/template b/srcpkgs/libseccomp/template index 11192eb3ff..9dfe89b4a5 100644 --- a/srcpkgs/libseccomp/template +++ b/srcpkgs/libseccomp/template @@ -1,11 +1,10 @@ # Template file for 'libseccomp' pkgname=libseccomp version=1.0.0 -revision=1 +revision=2 build_style=configure configure_args="--prefix=/usr" -subpackages="${pkgname}-devel" -makedepends="which" +hostmakedepends="which" short_desc="High level interface to the Linux Kernel's seccomp filter" maintainer="Juan RP " homepage="http://sourceforge.net/projects/libseccomp/" @@ -19,3 +18,19 @@ long_desc=" syscall filter language and present a more conventional function-call based filtering interface that should be familiar to, and easily adopted by application developers." + +libseccomp-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libseccomp_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libsecret/libsecret-devel.template b/srcpkgs/libsecret/libsecret-devel.template deleted file mode 100644 index 65591346f8..0000000000 --- a/srcpkgs/libsecret/libsecret-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libsecret-devel'. -# -depends="libglib-devel ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gtk-doc usr/share - vmove usr/share/gir-1.0 usr/share - vmove usr/share/vala usr/share -} diff --git a/srcpkgs/libsecret/template b/srcpkgs/libsecret/template index b08ff36953..f188867499 100644 --- a/srcpkgs/libsecret/template +++ b/srcpkgs/libsecret/template @@ -1,10 +1,9 @@ # Template file for 'libsecret' pkgname=libsecret version=0.15 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static" -subpackages="$pkgname-devel" hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection" makedepends="vala-devel>=0.20 libgcrypt-devel" short_desc="GObject based library for accessing the Secret Service API" @@ -13,3 +12,21 @@ license="GPL-2, LGPL-2.1" homepage="http://www.gnome.org" distfiles="${GNOME_SITE}/$pkgname/0.15/$pkgname-${version}.tar.xz" checksum=33e728b843efbe099483376ff5a3469260ee4b6ce035c7730909ac3793cb0fb8 + +libsecret-devel_package() { + depends="libglib-devel ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + vmove usr/share/gir-1.0 + vmove usr/share/vala + } +} + +libsecret_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libsexy/libsexy-devel.template b/srcpkgs/libsexy/libsexy-devel.template deleted file mode 100644 index 62e3c6a0a5..0000000000 --- a/srcpkgs/libsexy/libsexy-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libsexy-devel'. -# -noarch=yes -depends="libxml2-devel gtk+-devel ${sourcepkg}-${version}_${revision}" -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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libsexy/template b/srcpkgs/libsexy/template index 1452e26ab0..d6d162d400 100644 --- a/srcpkgs/libsexy/template +++ b/srcpkgs/libsexy/template @@ -1,11 +1,11 @@ # Template file for 'libsexy' pkgname=libsexy version=0.1.11 -revision=7 -subpackages="$pkgname-devel" +revision=8 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config iso-codes gtk+-devel libxml2-devel" +hostmakedepends="pkg-config" +makedepends="iso-codes gtk+-devel libxml2-devel" short_desc="Collection of additional GTK+ widgets" maintainer="Juan RP " homepage="http://releases.chipx86.com/$pkgname" @@ -16,3 +16,19 @@ long_desc=" libsexy is a collection of GTK+ widgets that extend the functionality of such standard widgets as GtkEntry and GtkLabel by subclassing them and working around the limitations of the widgets." + +libsexy-devel_package() { + depends="libxml2-devel gtk+-devel ${sourcepkg}-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libsexy_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libsigc++/libsigc++-devel.template b/srcpkgs/libsigc++/libsigc++-devel.template deleted file mode 100644 index faf079eb9d..0000000000 --- a/srcpkgs/libsigc++/libsigc++-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libsigc++-devel'. -# -depends="libsigc++>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/lib/sigc++-2.0 usr/lib - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libsigc++/template b/srcpkgs/libsigc++/template index 4306343768..79aedb6e93 100644 --- a/srcpkgs/libsigc++/template +++ b/srcpkgs/libsigc++/template @@ -2,7 +2,6 @@ pkgname=libsigc++ version=2.2.11 revision=2 -subpackages="${pkgname}-devel" build_style=gnu-configure configure_args="--enable-static --disable-documentation" short_desc="Type-safe callback system for C++ programs" @@ -21,3 +20,20 @@ long_desc=" connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries. Libsigc++ is licensed under the GNU Library General Public License, LGPL." + +libsigc++-devel_package() { + depends="libsigc++>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/sigc++-2.0 + vmove "usr/lib/*.a" + } +} + +libsigc++_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libsmbios/libsmbios-devel.template b/srcpkgs/libsmbios/libsmbios-devel.template deleted file mode 100644 index 2a9627d2c8..0000000000 --- a/srcpkgs/libsmbios/libsmbios-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libsmbios-devel'. -# -depends="libsmbios" -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/lib*.so ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libsmbios/libsmbios-utils.template b/srcpkgs/libsmbios/libsmbios-utils.template deleted file mode 100644 index 814b97d4fe..0000000000 --- a/srcpkgs/libsmbios/libsmbios-utils.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libsmbios-utils'. -# -depends="libsmbios" -short_desc="${sourcepkg} utilities" -long_desc="${long_desc} - -This package contains some sample binaries that use libsmbios." - - -do_install() -{ - mkdir -p ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/sbin ${DESTDIR}/usr -} diff --git a/srcpkgs/libsmbios/template b/srcpkgs/libsmbios/template index 200eb1807a..837b2db87d 100644 --- a/srcpkgs/libsmbios/template +++ b/srcpkgs/libsmbios/template @@ -1,25 +1,22 @@ # Template file for 'libsmbios' pkgname=libsmbios version=2.2.28 -revision=1 -distfiles="http://linux.dell.com/$pkgname/download/$pkgname/$pkgname-$version/$pkgname-$version.tar.bz2" +revision=2 build_style=gnu-configure configure_args="--disable-static --disable-python" -depends="glibc" -makedepends="pkg-config perl libxml2-devel" +hostmakedepends="pkg-config perl" +makedepends="libxml2-devel" short_desc="Library for SMBIOS access" homepage="https://linux.dell.com/libsmbios/main/index.html" license="GPL-2+, OLS-2.1" maintainer="Juan RP " +distfiles="http://linux.dell.com/$pkgname/download/$pkgname/$pkgname-$version/$pkgname-$version.tar.bz2" checksum=dd247fd43296df3352435b090dd789a22a89c4b316e98b46b915323290a3e350 long_desc=" Libsmbios is a library and utilities that can be used by client programs to get information from standard BIOS tables, such as the SMBIOS table." -subpackages="$pkgname-devel $pkgname-utils" - -post_install() -{ +post_install() { rm -rf ${DESTDIR}/etc/yum ${DESTDIR}/usr/lib/yum-plugins rm -rf ${DESTDIR}/libsmbios_c ${DESTDIR}/etc/libsmbios rm -rf ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/smbios-utils @@ -28,3 +25,26 @@ post_install() cp -r ${wrksrc}/src/include/smbios_c ${DESTDIR}/usr/include rm -f ${DESTDIR}/usr/include/smbios/version.h.in } + +libsmbios-devel_package() { + depends="libsmbios>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } + } +} + +libsmbios-utils_package() { + short_desc+=" -- utilities" + pkg_install() { + vmove usr/sbin + } +} + +libsmbios_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libsndfile/libsndfile-devel.template b/srcpkgs/libsndfile/libsndfile-devel.template deleted file mode 100644 index 9958c8ee0b..0000000000 --- a/srcpkgs/libsndfile/libsndfile-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libsndfile-devel'. -# -depends="alsa-lib-devel libvorbis-devel libflac-devel ${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove "usr/lib/*.a" usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libsndfile/libsndfile-progs.template b/srcpkgs/libsndfile/libsndfile-progs.template deleted file mode 100644 index b1e11262c5..0000000000 --- a/srcpkgs/libsndfile/libsndfile-progs.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libsndfile-progs'. -# -short_desc="${sourcepkg} - bundled cmdline apps" -long_desc="${long_desc} - - This package contains the command line applications that use - libsndfile." - -do_install() { - vmove usr/bin usr - vmove usr/share/man usr/share -} diff --git a/srcpkgs/libsndfile/template b/srcpkgs/libsndfile/template index f96ea8180c..86d5e07876 100644 --- a/srcpkgs/libsndfile/template +++ b/srcpkgs/libsndfile/template @@ -1,8 +1,7 @@ # Template file for 'libsndfile' pkgname=libsndfile version=1.0.25 -revision=2 -subpackages="$pkgname-progs $pkgname-devel" +revision=3 build_style=gnu-configure hostmakedepends="pkg-config python" makedepends="alsa-lib-devel libvorbis-devel>=1.2.3 libflac-devel sqlite-devel" @@ -16,3 +15,28 @@ long_desc=" Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface." + +libsndfile-progs_package() { + short_desc+=" -- bundled cmdline apps" + pkg_install() { + vmove usr/bin + vmove usr/share/man + } +} + +libsndfile-devel_package() { + depends="alsa-lib-devel libvorbis-devel libflac-devel ${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/shar + } +} + +libsndfile_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libsocialweb/libsocialweb-devel.template b/srcpkgs/libsocialweb/libsocialweb-devel.template deleted file mode 100644 index ee26ddbc5d..0000000000 --- a/srcpkgs/libsocialweb/libsocialweb-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'folks-devel'. -# -depends="dbus-glib-devel rest-devel libsoup-gnome-devel libsocialweb" -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 - vmove usr/share/gir-1.0 usr/share - vmove usr/share/gtk-doc usr/share - vmove usr/share/vala usr/share -} diff --git a/srcpkgs/libsocialweb/template b/srcpkgs/libsocialweb/template index 8e58b41e8d..32a7ddba00 100644 --- a/srcpkgs/libsocialweb/template +++ b/srcpkgs/libsocialweb/template @@ -1,16 +1,18 @@ # Template file for 'libsocialweb' pkgname=libsocialweb version=0.25.20 -distfiles="${GNOME_SITE}/$pkgname/0.25/$pkgname-$version.tar.xz" +revision=3 build_style=gnu-configure configure_args="--enable-all-services=yes --with-online=always --enable-vala-bindings" -makedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection vala-devel rest-devel dbus-glib-devel libgnome-keyring-devel GConf-devel json-glib-devel libsoup-gnome-devel" -revision=2 +hostmakedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection" +makedepends="vala-devel rest-devel dbus-glib-devel libgnome-keyring-devel + GConf-devel json-glib-devel libsoup-gnome-devel" short_desc="A personal social data server" homepage="http://gnome.org" license="LGPL-2.1" maintainer="Juan RP " +distfiles="${GNOME_SITE}/$pkgname/0.25/$pkgname-$version.tar.xz" checksum=eb0078f44eb5fc4570fcee26c5670a433ca1bb83be0cead421a4a03e7d838ff5 long_desc=" libfolks is a library that aggregates people from multiple sources (eg, @@ -19,5 +21,20 @@ long_desc=" The initial goal is for GObject/C support, though the Vala bindings should basically automatic." -subpackages="$pkgname-devel" +libsocialweb-devel_package() { + depends="dbus-glib-devel rest-devel libsoup-gnome-devel libsocialweb>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + vmove usr/share/vala + } +} +libsocialweb_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libsoup/libsoup-devel.template b/srcpkgs/libsoup/libsoup-devel.template deleted file mode 100644 index 0705a2c1c6..0000000000 --- a/srcpkgs/libsoup/libsoup-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libsoup-devel'. -# -depends="glib-devel libxml2-devel libsoup-${version}_${revision}" -short_desc="${short_desc} -- development files" - -do_install() { - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libsoup/libsoup-gnome-devel.template b/srcpkgs/libsoup/libsoup-gnome-devel.template deleted file mode 100644 index 16098ba097..0000000000 --- a/srcpkgs/libsoup/libsoup-gnome-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libsoup-gnome-devel'. -# -depends="libsoup-devel-${version}_${revision} libsoup-gnome-${version}_${revision}" -short_desc="${short_desc} - GNOME development files" - -do_install() { - vmove "usr/include/libsoup-gnome*" usr/include - vmove "usr/lib/pkgconfig/*gnome*" usr/lib/pkgconfig - vmove "usr/share/gir-1.0/SoupGNOME*" usr/share/gir-1.0 -} diff --git a/srcpkgs/libsoup/libsoup-gnome.template b/srcpkgs/libsoup/libsoup-gnome.template deleted file mode 100644 index 8f8e05c99c..0000000000 --- a/srcpkgs/libsoup/libsoup-gnome.template +++ /dev/null @@ -1,8 +0,0 @@ -# Template file for 'libsoup-gnome'. -# -short_desc="${short_desc} - GNOME libraries" - -do_install() { - vmove "usr/lib/libsoup-gnome*.so*" usr/lib - vmove "usr/lib/girepository-1.0/SoupGNOME*" usr/lib/girepository-1.0 -} diff --git a/srcpkgs/libsoup/template b/srcpkgs/libsoup/template index de7a347a5b..f0667b6ba0 100644 --- a/srcpkgs/libsoup/template +++ b/srcpkgs/libsoup/template @@ -1,8 +1,7 @@ # Template file for 'libsoup' pkgname=libsoup version=2.42.0 -revision=1 -subpackages="$pkgname-gnome $pkgname-gnome-devel $pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static" hostmakedepends="pkg-config intltool gobject-introspection" @@ -14,3 +13,38 @@ homepage="http://www.gnome.org" license="LGPL-2.1" distfiles="${GNOME_SITE}/$pkgname/2.42/$pkgname-$version.tar.xz" checksum=9e0e7eb5d3f7401ccf521fbc289fc1fa0923b7c7833729e2ed7696f7b848893e + +libsoup-devel_package() { + depends="libglib-devel libxml2-devel libsoup-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/lib/pkgconfig/libsoup-2.4.pc + vmove usr/share/gir-1.0/Soup-2.4.gir + vmove usr/include/libsoup-2.4 + vmove usr/share/gtk-doc + } +} + +libsoup-gnome-devel_package() { + depends="libsoup-devel-${version}_${revision} libsoup-gnome-${version}_${revision}" + short_desc="${short_desc} - GNOME development files" + pkg_install() { + vmove "usr/include/libsoup-gnome*" + vmove "usr/lib/pkgconfig/*gnome*" + vmove "usr/share/gir-1.0/SoupGNOME*" + } +} + +libsoup-gnome_package() { + short_desc="${short_desc} - GNOME libraries" + pkg_install() { + vmove "usr/lib/libsoup-gnome*.so*" + vmove "usr/lib/girepository-1.0/SoupGNOME*" + } +} + +libsoup_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libspectre/libspectre-devel.template b/srcpkgs/libspectre/libspectre-devel.template deleted file mode 100644 index dd6516576f..0000000000 --- a/srcpkgs/libspectre/libspectre-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libspectre-devel'. -# -noarch=yes -depends="libspectre>=${version}" -short_desc="${short_desc} -- 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/libspectre/template b/srcpkgs/libspectre/template index 6391576adc..e11be65a85 100644 --- a/srcpkgs/libspectre/template +++ b/srcpkgs/libspectre/template @@ -1,8 +1,7 @@ # Template file for 'libspectre' pkgname=libspectre version=0.2.7 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static" makedepends="ghostscript-devel" @@ -16,3 +15,18 @@ long_desc=" libspectre is a small library for rendering Postscript documents. It provides a convenient easy to use API for handling and rendering Postscript documents." + +libspectre-devel_package() { + depends="libspectre>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libspectre_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libssh2/libssh2-devel.template b/srcpkgs/libssh2/libssh2-devel.template deleted file mode 100644 index ac7d0c9f7f..0000000000 --- a/srcpkgs/libssh2/libssh2-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libssh2-devel'. -# -noarch=yes -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} -- 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 - vmove usr/share usr -} diff --git a/srcpkgs/libssh2/template b/srcpkgs/libssh2/template index f41a2a4113..4e0b1effea 100644 --- a/srcpkgs/libssh2/template +++ b/srcpkgs/libssh2/template @@ -1,8 +1,7 @@ # Template file for 'libssh2' pkgname=libssh2 version=1.4.3 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static" makedepends="openssl-devel" @@ -16,3 +15,19 @@ long_desc=" libssh2 is a client-side C library implementing the SSH2 protocol. It supports regular terminal, SCP and SFTP sessions; port forwarding; password, key-based and keyboard-interactive authentication." + +libssh2-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libssh2_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libstatgrab/libstatgrab-devel.template b/srcpkgs/libstatgrab/libstatgrab-devel.template deleted file mode 100644 index 9cc3e99c72..0000000000 --- a/srcpkgs/libstatgrab/libstatgrab-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libstatgrab-devel'. -# -noarch=yes -depends="${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} (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 - vmove usr/share/man/man3 usr/share/man -} diff --git a/srcpkgs/libstatgrab/template b/srcpkgs/libstatgrab/template index 246e521eb9..95e3bd1626 100644 --- a/srcpkgs/libstatgrab/template +++ b/srcpkgs/libstatgrab/template @@ -1,8 +1,7 @@ # Template file for 'libstatgrab' pkgname=libstatgrab version=0.17 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static" makedepends="ncurses-devel" @@ -16,3 +15,19 @@ long_desc=" libstatgrab is a library which provides an easy to use interface for accessing system statistics. Available statistics include CPU, Load, Memory, Swap, Disk I/O, and Network I/O." + +libstatgrab-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/man/man3 + } +} + +libstatgrab_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libtaginfo/libtaginfo-devel.template b/srcpkgs/libtaginfo/libtaginfo-devel.template deleted file mode 100644 index cc688be6af..0000000000 --- a/srcpkgs/libtaginfo/libtaginfo-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libtaginfo-devel'. -# -noarch=yes -depends="taglib-devel ${sourcepkg}>=${version}" -short_desc="${hort_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/lib/${sourcepkg} usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/libtaginfo/template b/srcpkgs/libtaginfo/template index 78ec98ba8a..7b9cb86905 100644 --- a/srcpkgs/libtaginfo/template +++ b/srcpkgs/libtaginfo/template @@ -1,10 +1,10 @@ # Template file for 'libtaginfo' pkgname=libtaginfo version=0.1.3 -revision=1 -subpackages="${pkgname}-devel" +revision=2 build_style=gnu-configure -makedepends="pkg-config taglib-devel" +hostmakedepends="pkg-config" +makedepends="taglib-devel" short_desc="Library for reading media metadata" maintainer="Juan RP " license="GPL-2" @@ -18,3 +18,20 @@ long_desc=" AlbumArtist, Comments, Disk number, Compilation flag, User labels, Embedded Images, Lyrics, Audio properties (length, bitrate, samplerate, channels ...), and much more." + +libtaginfo-devel_package() { + depends="taglib-devel ${sourcepkg}>=${version}" + short_desc="${hort_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/libtaginfo + vmove usr/share + } +} + +libtaginfo_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libtar/libtar-devel.template b/srcpkgs/libtar/libtar-devel.template deleted file mode 100644 index 9201a06a84..0000000000 --- a/srcpkgs/libtar/libtar-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libtar-devel'. -# -depends="zlib-devel libtar" -short_desc="${short_desc} (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 -} diff --git a/srcpkgs/libtar/template b/srcpkgs/libtar/template index b78201643f..eebea6f17e 100644 --- a/srcpkgs/libtar/template +++ b/srcpkgs/libtar/template @@ -1,18 +1,30 @@ # Template file for 'libtar' pkgname=libtar version=1.2.11 +revision=3 build_style=gnu-configure -homepage="http://www.feep.net/libtar/" -distfiles="ftp://ftp.feep.net/pub/software/${pkgname}/${pkgname}-${version}.tar.gz" -revision=2 makedepends="zlib-devel" short_desc="tar file manipulation API" maintainer="davehome " license="BSD" +homepage="http://www.feep.net/libtar/" +distfiles="ftp://ftp.feep.net/pub/software/${pkgname}/${pkgname}-${version}.tar.gz" checksum=4a2eefb6b7088f41de57356e5059cbf1f917509b4a810f7c614625a378e87bb8 long_desc=" libtar is a C library for manipulating POSIX tar files. It handles adding and extracting files to/from a tar archive." -subpackages="${pkgname}-devel" +libtar-devel_package() { + depends="zlib-devel libtar>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} +libtar_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libtasn1/libtasn1-devel.template b/srcpkgs/libtasn1/libtasn1-devel.template deleted file mode 100644 index 8bfc72d682..0000000000 --- a/srcpkgs/libtasn1/libtasn1-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libtasn1-devel'. -# -noarch=yes -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} (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 - vmove usr/share/man/man3 usr/share/man - vmove usr/share/info usr/share -} diff --git a/srcpkgs/libtasn1/libtasn1-tools.template b/srcpkgs/libtasn1/libtasn1-tools.template deleted file mode 100644 index 8b76552f7d..0000000000 --- a/srcpkgs/libtasn1/libtasn1-tools.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libtasn1-tools'. -# -short_desc="${short_desc} (ASN.1 tools)" -long_desc="${long_desc} - - This package contains some ASN.1 tools that come with libtasn1." - -do_install() { - vmove usr/bin usr - vmove usr/share usr -} diff --git a/srcpkgs/libtasn1/template b/srcpkgs/libtasn1/template index 5a279fa102..62e704e728 100644 --- a/srcpkgs/libtasn1/template +++ b/srcpkgs/libtasn1/template @@ -1,8 +1,7 @@ # Template build file for 'libtasn1'. pkgname=libtasn1 version=3.2 -revision=1 -subpackages="${pkgname}-devel ${pkgname}-tools" +revision=2 build_style=gnu-configure configure_args="--disable-static" short_desc="ASN.1 structure parser library" @@ -22,3 +21,28 @@ long_desc=" containing an array. - DER (Distinguish Encoding Rules) encoding. - no limits for INTEGER and ENUMERATED values." + +libtasn1-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/man/man3 + vmove usr/share/info + } +} + +libtasn1-tools_package() { + short_desc+=" -- ASN.1 tools" + pkg_install() { + vmove usr/bin + vmove usr/share + } +} + +libtasn1_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libtheora/libtheora-devel.template b/srcpkgs/libtheora/libtheora-devel.template deleted file mode 100644 index f645f706e7..0000000000 --- a/srcpkgs/libtheora/libtheora-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libtheora-devel'. -# -depends="libogg-devel libtheora>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libtheora/template b/srcpkgs/libtheora/template index 9934b6258e..e4167ca58b 100644 --- a/srcpkgs/libtheora/template +++ b/srcpkgs/libtheora/template @@ -3,7 +3,6 @@ pkgname=libtheora version=1.1.1 revision=4 build_style=gnu-configure -subpackages="$pkgname-devel" configure_args="--disable-examples --disable-vorbistest --disable-sdltest" hostmakedepends="pkg-config" makedepends="libogg-devel" @@ -20,3 +19,20 @@ long_desc=" nearly identical, varying only in encapsulating decoder tables in the bitstream headers, but Theora will make use of this extra freedom in the future to improve over what is possible with VP3." + +libtheora-devel_package() { + depends="libogg-devel libtheora>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} + +libtheora_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libtirpc/libtirpc-devel.template b/srcpkgs/libtirpc/libtirpc-devel.template deleted file mode 100644 index 4bd8547c76..0000000000 --- a/srcpkgs/libtirpc/libtirpc-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libtirpc-devel'. -# -depends="libgssglue-devel libtirpc>=${version}" -short_desc="${short_desc} - development files" -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/man/man3 usr/share/man -} diff --git a/srcpkgs/libtirpc/template b/srcpkgs/libtirpc/template index 65203b2358..acb4b46c98 100644 --- a/srcpkgs/libtirpc/template +++ b/srcpkgs/libtirpc/template @@ -1,8 +1,7 @@ # Template file for 'libtirpc' pkgname=libtirpc version=0.2.3 -revision=1 -conf_files="/etc/netconfig" +revision=2 subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--enable-gss --disable-static" @@ -23,3 +22,21 @@ pre_configure() { post_install() { vinstall doc/etc_netconfig 644 etc netconfig } + +libtirpc-devel_package() { + depends="libgssglue-devel libtirpc>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/man/man3 + } +} + +libtirpc_package() { + conf_files="/etc/netconfig" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/libtomcrypt/libtomcrypt-devel.template b/srcpkgs/libtomcrypt/libtomcrypt-devel.template deleted file mode 100644 index e15a0634a7..0000000000 --- a/srcpkgs/libtomcrypt/libtomcrypt-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libtomcrypt-devel'. -# -depends="${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} -- 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 - vmove "usr/lib/*.a" usr/lib - - vinstall ${sourcepkg}.3 644 usr/share/man/man3 -} diff --git a/srcpkgs/libtomcrypt/template b/srcpkgs/libtomcrypt/template index 615dd72f2e..20f2ac5499 100644 --- a/srcpkgs/libtomcrypt/template +++ b/srcpkgs/libtomcrypt/template @@ -1,11 +1,10 @@ # Template file for 'libtomcrypt' pkgname=libtomcrypt version=1.17 -revision=1 +revision=2 patch_args="-Np1" -subpackages="${pkgname}-devel" build_style=gnu-makefile -makedepends="libtool" +hostmakedepends="libtool" make_build_args="-f makefile.shared" make_install_args="-f makefile.shared NODOCS=1" short_desc="Fairly comprehensive, modular and portable cryptographic toolkit" @@ -19,3 +18,20 @@ long_desc=" toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines." + +libtomcrypt-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/*.a" usr/lib + vinstall ${sourcepkg}.3 644 usr/share/man/man3 + } +} + +libtomcrypt_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libtorrent/libtorrent-devel.template b/srcpkgs/libtorrent/libtorrent-devel.template deleted file mode 100644 index d4948ef6d3..0000000000 --- a/srcpkgs/libtorrent/libtorrent-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'librtorrent-devel'. -# -depends="libtorrent>=$version" -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/libtorrent/template b/srcpkgs/libtorrent/template index e3efa7969e..877c689f5a 100644 --- a/srcpkgs/libtorrent/template +++ b/srcpkgs/libtorrent/template @@ -27,3 +27,19 @@ long_desc=" other implementations by transfering directly from file pages to the network stack. On high-bandwidth connections it is able to seed at 3 times the speed of the official client." + +libtorrent-devel_package() { + depends="libtorrent>=$version" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libtorrent_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libunique/libunique-devel.template b/srcpkgs/libunique/libunique-devel.template deleted file mode 100644 index 59168404d7..0000000000 --- a/srcpkgs/libunique/libunique-devel.template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'libunique-devel'. -# -depends="dbus-glib-devel libunique" -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/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr -} diff --git a/srcpkgs/libunique/template b/srcpkgs/libunique/template index c238b583fc..03fc03e91f 100644 --- a/srcpkgs/libunique/template +++ b/srcpkgs/libunique/template @@ -1,15 +1,16 @@ # Template file for 'libunique'. pkgname=libunique version=3.0.2 -distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2" +revision=4 build_style=gnu-configure configure_args="--enable-bacon=yes --enable-dbus=yes" -revision=3 -makedepends="pkg-config libX11-devel atk-devel glib-devel pango-devel cairo-devel freetype-devel fontconfig-devel dbus-devel dbus-glib-devel gtk+3-devel gobject-introspection" +hostmakedepends="pkg-config gobject-introspection" +makedepends="dbus-glib-devel gtk+3-devel" short_desc="Library for writing single instance applications" maintainer="xtraeme " homepage="http://live.gnome.org/LibUnique" license="LGPL-2.1" +distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2" checksum=50269a87c7aabf1e25f01b3bbb280133138ffd7b6776289894c614a4b6ca968d long_desc=" Unique is a library for writing single instance application. If you launch a @@ -23,5 +24,18 @@ long_desc=" Unique aims to replace the BaconMessageConnection code that has been copied by many projects and the code using Bonobo and D-Bus." -subpackages="$pkgname-devel" +libunique-devel_package() { + depends="dbus-glib-devel libunique>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share + } +} +libunique_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libunique1/libunique1-devel.template b/srcpkgs/libunique1/libunique1-devel.template deleted file mode 100644 index 01125df906..0000000000 --- a/srcpkgs/libunique1/libunique1-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libunique1-devel'. -# -noarch=yes -depends="gtk+-devel ${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 - vmove usr/share usr -} diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template index ba02ecb302..5d7b9e8fcf 100644 --- a/srcpkgs/libunique1/template +++ b/srcpkgs/libunique1/template @@ -1,13 +1,13 @@ # Template file for 'libunique1'. pkgname=libunique1 version=1.1.6 -revision=4 +revision=5 wrksrc="libunique-${version}" patch_args="-Np1" -subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--disable-static --disable-dbus" -makedepends="automake pkg-config gobject-introspection gtk+-devel" +hostmakedepends="libtool automake pkg-config gobject-introspection" +makedepends="gtk+-devel" short_desc="Library for writing single instance applications (GTK+2)" maintainer="xtraeme " homepage="http://live.gnome.org/LibUnique" @@ -36,3 +36,19 @@ pre_configure() { done autoreconf -fi } + +libunique1-devel_package() { + depends="gtk+-devel ${sourcepkg}-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share + } +} + +libunique1_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libusb-compat/libusb-compat-devel.template b/srcpkgs/libusb-compat/libusb-compat-devel.template deleted file mode 100644 index baccaa5039..0000000000 --- a/srcpkgs/libusb-compat/libusb-compat-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libusb-compat-devel'. -# -depends="libusb-compat>=0.1.4" -short_desc="${sourcepkg} development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -do_install() { - vmove usr/bin usr - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libusb-compat/template b/srcpkgs/libusb-compat/template index f21ee1df49..3c6d07ca31 100644 --- a/srcpkgs/libusb-compat/template +++ b/srcpkgs/libusb-compat/template @@ -1,18 +1,34 @@ # Template file for 'libusb-compat' pkgname=libusb-compat version=0.1.4 -homepage="http://libusb.sourceforge.net/" -distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2" +revision=2 build_style=gnu-configure -makedepends="pkg-config libusb-devel" -revision=1 +hostmakedepends="pkg-config" +makedepends="libusb-devel" short_desc="A libusb-0.1 compatibility library" maintainer="Juan RP " license="LGPL-2.1" +homepage="http://libusb.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2" checksum=ed5bdd160c7b01ef767fb931a81b454f46226d1e2cf58502ced758d3e5a9fdc4 long_desc=" $pkgname is a replacement for libusb-0.1. However, instead of being an actual implementation, libusb-0.1 is more of a compatibility layer (or wrapper) which just converts libusb-0.1 calls into their libusb-1.0 equivalents." -subpackages="$pkgname-devel" +libusb-compat-devel_package() { + depends="libusb-compat>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libusb-compat_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libutempter/libutempter-devel.template b/srcpkgs/libutempter/libutempter-devel.template deleted file mode 100644 index 6fe9e8bd91..0000000000 --- a/srcpkgs/libutempter/libutempter-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libutempter-devel'. -# -noarch=yes -depends="${sourcepkg}>=${version}" -short_desc="${short_desc} -- development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -do_install() { - vmove usr/include usr - vmove usr/share usr -} diff --git a/srcpkgs/libutempter/template b/srcpkgs/libutempter/template index 7021957ca4..6f450e4ca0 100644 --- a/srcpkgs/libutempter/template +++ b/srcpkgs/libutempter/template @@ -1,8 +1,7 @@ # Template file for 'libutempter' pkgname=libutempter version=1.1.6 -revision=1 -subpackages="${pkgname}-devel" +revision=2 build_style=gnu-makefile short_desc="Library interface to record user sessions in utmp/wtmp files" maintainer="Juan RP " @@ -14,6 +13,18 @@ long_desc=" libutempter provides a library interface for terminal emulators such as screen and xterm to record user sessions to utmp and wtmp files." -post_install() { - rm -f ${DESTDIR}/usr/lib/*.a +libutempter-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/share + } +} + +libutempter_package() { + pkg_install() { + vmove usr + } } diff --git a/srcpkgs/libva-intel-driver/template b/srcpkgs/libva-intel-driver/template index 324203b052..acfd9b3047 100644 --- a/srcpkgs/libva-intel-driver/template +++ b/srcpkgs/libva-intel-driver/template @@ -3,9 +3,8 @@ pkgname=libva-intel-driver version=1.0.19 revision=1 build_style=gnu-configure -depends="libva>=1:1.0.16" -makedepends="automake pkg-config libva-devel>=1:1.0.16 libdrm-devel - libX11-devel" +hostmakedepends="libtool automake pkg-config" +makedepends="libX11-devel libva-devel>=1:1.0.16 libdrm-devel" short_desc="Video Acceleration (VA) API - Intel Graphics backend" maintainer="Juan RP " homepage="http://freedesktop.org/wiki/Software/vaapi" @@ -28,3 +27,10 @@ pre_configure() { post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} } + +libva-intel-driver_package() { + depends="libva>=1:1.0.16" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libva/libva-devel.template b/srcpkgs/libva/libva-devel.template deleted file mode 100644 index 7b1a1b7107..0000000000 --- a/srcpkgs/libva/libva-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libva-devel'. -# -noarch=yes -depends="libva-${version}_${revision}" -short_desc="${short_desc} - 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/libva/template b/srcpkgs/libva/template index a9d8caa8ed..3482c48e07 100644 --- a/srcpkgs/libva/template +++ b/srcpkgs/libva/template @@ -2,12 +2,12 @@ pkgname=libva _distver=1.1.0 version=1:${_distver} -revision=1 +revision=2 wrksrc="${pkgname}-${_distver}" build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config libXfixes-devel MesaLib-devel" -subpackages="$pkgname-devel" +hostmakedepends="pkg-config" +makedepends="libXfixes-devel MesaLib-devel" short_desc="Video Acceleration (VA) API" maintainer="Juan RP " homepage="http://freedesktop.org/wiki/Software/vaapi" @@ -23,3 +23,18 @@ long_desc=" post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} } + +libva-devel_package() { + depends="libva-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libva_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libvirt-glib/libvirt-glib-devel.template b/srcpkgs/libvirt-glib/libvirt-glib-devel.template deleted file mode 100644 index 6a90d27628..0000000000 --- a/srcpkgs/libvirt-glib/libvirt-glib-devel.template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'libvirt-devel'. -# -depends="glib-devel libxml2-devel libvirt-devel libvirt-glib>=0.0.8" -short_desc="${short_desc} - development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gtk-doc usr/share - vmove usr/share/gir-1.0 usr/share - vmove usr/share/vala usr/share -} diff --git a/srcpkgs/libvirt-glib/libvirt-glib-python.template b/srcpkgs/libvirt-glib/libvirt-glib-python.template deleted file mode 100644 index d42f15fb7c..0000000000 --- a/srcpkgs/libvirt-glib/libvirt-glib-python.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libvirt-glib-python'. -# -depends="python" -short_desc="${short_desc} - python bindings" -long_desc="${long_desc} - - This package contains the Python language bindings." - - -do_install() { - vmove "usr/lib/python*" usr/lib -} diff --git a/srcpkgs/libvirt-glib/template b/srcpkgs/libvirt-glib/template index 8ebb942efe..4d4cb600f0 100644 --- a/srcpkgs/libvirt-glib/template +++ b/srcpkgs/libvirt-glib/template @@ -1,12 +1,11 @@ # Template file for 'libvirt-glib' pkgname=libvirt-glib version=0.1.4 -revision=1 -subpackages="$pkgname-devel $pkgname-python" +revision=2 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config glib-devel libvirt-devel libxml2-devel - python-devel gobject-introspection vala-devel" +hostmakedepends="pkg-config gobject-introspection" +makedepends="libglib-devel libvirt-devel libxml2-devel python-devel vala-devel" short_desc="libvirt glib integration" maintainer="Juan RP " homepage="http://libvirt.org" @@ -20,3 +19,29 @@ long_desc=" - libvirt-glib - GLib main loop integration and misc helper APIs - libvirt-gconfig - GObjects for manipulating libvirt XML documents - libvirt-gobject - GObjects for managing libvirt objects" + +libvirt-glib-devel_package() { + depends="libglib-devel libxml2-devel libvirt-devel libvirt-glib>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + vmove usr/share/gir-1.0 + vmove usr/share/vala + } +} + +libvirt-glib-python_package() { + depends="python" + short_desc="${short_desc} - python bindings" + pkg_install() { + vmove "usr/lib/python*" + } +} + +libvirt-glib_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libvirt/libvirt-devel.template b/srcpkgs/libvirt/libvirt-devel.template deleted file mode 100644 index dbbbdb55bc..0000000000 --- a/srcpkgs/libvirt/libvirt-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libvirt-devel'. -# -noarch=yes -depends="libvirt>=$version" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gtk-doc usr/share - vmove usr/share/doc/libvirt-${version} usr/share/doc -} diff --git a/srcpkgs/libvirt/libvirt-python.template b/srcpkgs/libvirt/libvirt-python.template deleted file mode 100644 index 27caca7558..0000000000 --- a/srcpkgs/libvirt/libvirt-python.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libvirt-python'. -# -depends="python" -short_desc="${short_desc} - python bindings" -pycompile_module="libvirt.py libvirt_qemu.py" - -do_install() { - vmove "usr/lib/python*" usr/lib - vmove "usr/share/doc/libvirt-python*" usr/share/doc -} diff --git a/srcpkgs/libvirt/template b/srcpkgs/libvirt/template index bc28113d48..ee0aef03d1 100644 --- a/srcpkgs/libvirt/template +++ b/srcpkgs/libvirt/template @@ -1,13 +1,12 @@ # Template file for 'libvirt' pkgname=libvirt version=1.0.2 -revision=1 +revision=2 build_style=gnu-configure configure_args="--without-hal --with-storage-lvm --without-xen --disable-static --with-init-script=systemd ac_cv_path_MOUNT=/bin/mount ac_cv_path_UMOUNT=/bin/umount ac_cv_path_MKFS=/sbin/mkfs ac_cv_path_SHOWMOUNT=/usr/sbin/showmount" -subpackages="${pkgname}-devel ${pkgname}-python" short_desc="The virtualization API for controlling virtualization engines" maintainer="Juan RP " homepage="http://libvirt.org" @@ -19,49 +18,7 @@ makedepends="pkg-config readline-devel libcap-ng-devel libnl3-devel gnutls-devel>=3.1.5 libsasl-devel libcurl-devel libpcap-devel libxml2-devel libparted-devel device-mapper-devel dbus-devel libudev-devel>=183 libpciaccess-devel avahi-libs-devel polkit-devel yajl-devel - python-devel libssh2-devel" - -fulldepends="lvm2 parted" - -conf_files=" -/etc/libvirt/lxc.conf -/etc/libvirt/qemu-lockd.conf -/etc/libvirt/libvirt.conf -/etc/libvirt/qemu/networks/default.xml -/etc/libvirt/qemu/networks/autostart -/etc/libvirt/qemu/networks/autostart/default.xml -/etc/libvirt/nwfilter/qemu-announce-self.xml -/etc/libvirt/nwfilter/allow-ipv4.xml -/etc/libvirt/nwfilter/allow-incoming-ipv4.xml -/etc/libvirt/nwfilter/allow-dhcp.xml -/etc/libvirt/nwfilter/no-other-l2-traffic.xml -/etc/libvirt/nwfilter/no-mac-spoofing.xml -/etc/libvirt/nwfilter/no-other-rarp-traffic.xml -/etc/libvirt/nwfilter/qemu-announce-self-rarp.xml -/etc/libvirt/nwfilter/allow-arp.xml -/etc/libvirt/nwfilter/allow-dhcp-server.xml -/etc/libvirt/nwfilter/no-arp-ip-spoofing.xml -/etc/libvirt/nwfilter/no-arp-mac-spoofing.xml -/etc/libvirt/nwfilter/no-mac-broadcast.xml -/etc/libvirt/nwfilter/no-arp-spoofing.xml -/etc/libvirt/nwfilter/no-ip-spoofing.xml -/etc/libvirt/nwfilter/clean-traffic.xml -/etc/libvirt/nwfilter/no-ip-multicast.xml -/etc/libvirt/qemu.conf -/etc/libvirt/libvirtd.conf -/etc/sasl2/libvirt.conf" - -make_dirs=" -/var/cache/libvirt/qemu 0755 root root -/var/lib/libvirt/boot 0755 root root -/var/lib/libvirt/filesystems 0755 root root -/var/lib/libvirt/images 0755 root root -/var/lib/libvirt/network 0755 root root -/var/lib/libvirt/qemu 0755 root root -/var/lib/libvirt/lockd/files 0755 root root -/var/lib/libvirt/lxc 0755 root root -/var/lib/libvirt/dnsmasq 0755 root root -/var/lib/libvirt/uml 0755 root root" + python-devel libssh2-devel lvm2 parted" post_install() { # Remove static files. @@ -75,3 +32,71 @@ post_install() { vinstall ${FILESDIR}/libvirt.tmpfiles.d 644 usr/lib/tmpfiles.d libvirt.conf } + +libvirt-devel_package() { + depends="libvirt>=$version" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + vmove usr/share/doc/libvirt-${version} + } +} + +libvirt-python_package() { + depends="python" + short_desc="${short_desc} - python bindings" + pycompile_module="libvirt.py libvirt_qemu.py" + pkg_install() { + vmove "usr/lib/python*" + vmove "usr/share/doc/libvirt-python*" + } +} + +libvirt_package() { + depends="lvm2 parted" + conf_files=" + /etc/libvirt/lxc.conf + /etc/libvirt/qemu-lockd.conf + /etc/libvirt/libvirt.conf + /etc/libvirt/qemu/networks/default.xml + /etc/libvirt/qemu/networks/autostart + /etc/libvirt/qemu/networks/autostart/default.xml + /etc/libvirt/nwfilter/qemu-announce-self.xml + /etc/libvirt/nwfilter/allow-ipv4.xml + /etc/libvirt/nwfilter/allow-incoming-ipv4.xml + /etc/libvirt/nwfilter/allow-dhcp.xml + /etc/libvirt/nwfilter/no-other-l2-traffic.xml + /etc/libvirt/nwfilter/no-mac-spoofing.xml + /etc/libvirt/nwfilter/no-other-rarp-traffic.xml + /etc/libvirt/nwfilter/qemu-announce-self-rarp.xml + /etc/libvirt/nwfilter/allow-arp.xml + /etc/libvirt/nwfilter/allow-dhcp-server.xml + /etc/libvirt/nwfilter/no-arp-ip-spoofing.xml + /etc/libvirt/nwfilter/no-arp-mac-spoofing.xml + /etc/libvirt/nwfilter/no-mac-broadcast.xml + /etc/libvirt/nwfilter/no-arp-spoofing.xml + /etc/libvirt/nwfilter/no-ip-spoofing.xml + /etc/libvirt/nwfilter/clean-traffic.xml + /etc/libvirt/nwfilter/no-ip-multicast.xml + /etc/libvirt/qemu.conf + /etc/libvirt/libvirtd.conf + /etc/sasl2/libvirt.conf" + make_dirs=" + /var/cache/libvirt/qemu 0755 root root + /var/lib/libvirt/boot 0755 root root + /var/lib/libvirt/filesystems 0755 root root + /var/lib/libvirt/images 0755 root root + /var/lib/libvirt/network 0755 root root + /var/lib/libvirt/qemu 0755 root root + /var/lib/libvirt/lockd/files 0755 root root + /var/lib/libvirt/lxc 0755 root root + /var/lib/libvirt/dnsmasq 0755 root root + /var/lib/libvirt/uml 0755 root root" + pkg_install() { + vmove etc + vmove usr + vmove var + } +} diff --git a/srcpkgs/libvisual/libvisual-devel.template b/srcpkgs/libvisual/libvisual-devel.template deleted file mode 100644 index 5a00402bc4..0000000000 --- a/srcpkgs/libvisual/libvisual-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libvisual-devel'. -# -noarch=yes -depends="libvisual-${version}_${revision}" -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/pkgconfig ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libvisual/template b/srcpkgs/libvisual/template index d504556dd6..428b0b59e2 100644 --- a/srcpkgs/libvisual/template +++ b/srcpkgs/libvisual/template @@ -1,11 +1,10 @@ # Template file for 'libvisual'. pkgname=libvisual version=0.4.0 -revision=4 -subpackages="$pkgname-devel" +revision=5 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config" +hostmakedepends="pkg-config" short_desc="Abstraction library for audio visualisation plugins" maintainer="Juan RP " homepage="http://sourceforge.net/projects/libvisual/" @@ -24,3 +23,18 @@ long_desc=" interface applications can easily access plugins and since the drawing is done by the application it also enables the developer to draw the visual anywhere he wants." + +libvisual-devel_package() { + depends="libvisual-${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libvisual_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libvpx/libvpx-devel.template b/srcpkgs/libvpx/libvpx-devel.template deleted file mode 100644 index cbee97a4db..0000000000 --- a/srcpkgs/libvpx/libvpx-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libvpx-devel'. -# -depends="libvpx>=$version" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libvpx/template b/srcpkgs/libvpx/template index eac7d697e3..3f32bfe837 100644 --- a/srcpkgs/libvpx/template +++ b/srcpkgs/libvpx/template @@ -3,7 +3,6 @@ pkgname=libvpx version=1.1.0 revision=3 wrksrc="libvpx-v${version}" -subpackages="$pkgname-devel" hostmakedepends="which perl yasm" short_desc="The VP8 Codec SDK" maintainer="Juan RP " @@ -41,3 +40,19 @@ do_install() { vinstall LICENSE 644 usr/share/licenses/${pkgname} } + +libvpx-devel_package() { + depends="libvpx>=$version" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libvpx_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libwacom/libwacom-devel.template b/srcpkgs/libwacom/libwacom-devel.template deleted file mode 100644 index d40597e665..0000000000 --- a/srcpkgs/libwacom/libwacom-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libwacom-devel'. -# -depends="glib-devel libwacom>=$version" -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/libwacom/template b/srcpkgs/libwacom/template index 2682fec318..6fd8ae7f3e 100644 --- a/srcpkgs/libwacom/template +++ b/srcpkgs/libwacom/template @@ -1,11 +1,10 @@ # Template file for 'libwacom' pkgname=libwacom version=0.7 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libgudev-devel" -subpackages="$pkgname-devel" short_desc="Library to identify wacom tablets" maintainer="Juan RP " license="MIT" @@ -16,3 +15,19 @@ long_desc=" libwacom is a library to identify wacom tablets and their model-specific features. It provides easy access to information such as is this a built-in on-screen tablet, what is the size of this model, etc." + +libwacom-devel_package() { + depends="libglib-devel libwacom>=$version" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libwacom_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libwapcaplet/libwapcaplet-devel.template b/srcpkgs/libwapcaplet/libwapcaplet-devel.template deleted file mode 100644 index ee1125495b..0000000000 --- a/srcpkgs/libwapcaplet/libwapcaplet-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libwapcaplet-devel'. -# -depends="libwapcaplet" -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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libwapcaplet/template b/srcpkgs/libwapcaplet/template index 5be0da9b6b..313cf6072e 100644 --- a/srcpkgs/libwapcaplet/template +++ b/srcpkgs/libwapcaplet/template @@ -1,13 +1,13 @@ # Template build file for 'libwapcaplet'. pkgname=libwapcaplet version=0.1.0 -revision=2 +revision=3 homepage="http://www.netsurf-browser.org" -distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" short_desc="String internment library, written in C" maintainer="davehome " -checksum=e58df9d4ee18344946d5c7c17fb99f29269027dafd875e2fe10bb1fb9d7fc1a7 license="MIT" +distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" +checksum=e58df9d4ee18344946d5c7c17fb99f29269027dafd875e2fe10bb1fb9d7fc1a7 long_desc=" LibWapcaplet is a string internment library, written in C. It provides reference counted string interment and rapid string comparison @@ -15,9 +15,6 @@ long_desc=" available for use by other software under the MIT licence. For further details, see the readme." -subpackages="${pkgname}-devel" - - wrksrc=${pkgname}-${version}-src do_build() { @@ -33,3 +30,19 @@ do_install() { vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}" } + +libwapcaplet-devel_package() { + depends="libwapcaplet>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libwapcaplet_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libwebp/libwebp-devel.template b/srcpkgs/libwebp/libwebp-devel.template deleted file mode 100644 index 0ca8594314..0000000000 --- a/srcpkgs/libwebp/libwebp-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libwebp-devel'. -# -noarch=yes -depends="libjpeg-turbo-devel libpng-devel libwebp>=${version}" -short_desc="${short_desc} - development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libwebp/template b/srcpkgs/libwebp/template index 7c1e0cdc42..fd7b7da2dc 100644 --- a/srcpkgs/libwebp/template +++ b/srcpkgs/libwebp/template @@ -1,10 +1,11 @@ # Template file for 'libwebp' pkgname=libwebp version=0.2.1 -revision=2 +revision=3 build_style=gnu-configure configure_args="--disable-static" -makedepends="automake libjpeg-turbo-devel libpng-devel>=1.5.10 tiff-devel" +hostmakedepends="automake libtool" +makedepends="libjpeg-turbo-devel libpng-devel>=1.5.10 tiff-devel" subpackages="$pkgname-devel" short_desc="WebP image format" maintainer="Juan RP " @@ -20,3 +21,18 @@ pre_configure() { post_install() { vinstall COPYING 644 usr/share/licenses/${pkgname} } + +libwebp-devel_package() { + depends="libjpeg-turbo-devel libpng-devel libwebp>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libwebp_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libwmf/libwmf-devel.template b/srcpkgs/libwmf/libwmf-devel.template deleted file mode 100644 index 2c560d9676..0000000000 --- a/srcpkgs/libwmf/libwmf-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libwmf-devel'. -# -noarch=yes -depends="${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/share/doc usr/share - vmove usr/bin/libwmf-config usr/bin -} diff --git a/srcpkgs/libwmf/template b/srcpkgs/libwmf/template index 9d0859d8da..de71c204cc 100644 --- a/srcpkgs/libwmf/template +++ b/srcpkgs/libwmf/template @@ -1,16 +1,14 @@ # Template build file for 'libwmf'. pkgname=libwmf version=0.2.8.4 -revision=13 +revision=14 build_style=gnu-configure configure_args="--with-gsfontdir=/usr/share/fonts/Type1 --with-fontdir=/usr/share/fonts/Type1 --disable-static --with-gsfontmap=/usr/share/ghostscript/8.15/lib/Fontmap.GS" -makedepends="pkg-config freetype-devel libjpeg-turbo-devel libpng-devel>=1.5.10 - expat-devel glib-devel gtk+-devel gd-devel" -fulldepends="gsfonts" -triggers="gtk-pixbuf-loaders" -subpackages="$pkgname-devel" +hostmakedepends="pkg-config" +makedepends="freetype-devel libjpeg-turbo-devel libpng-devel>=1.5.10 + expat-devel glib-devel gtk+-devel gd-devel gsfonts" short_desc="Library for reading and converting WMF (Windows Meta Files)" maintainer="Juan RP " homepage="http://wvware.sourceforge.net/libwmf.html" @@ -21,3 +19,21 @@ checksum=5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8 post_install() { rm -rf ${DESTDIR}/usr/share/fonts } + +libwmf-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/share/doc + vmove usr/bin/libwmf-config + } +} + +libwmf_package() { + depends="gsfonts" + triggers="gtk-pixbuf-loaders" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libwnck/libwnck-devel.template b/srcpkgs/libwnck/libwnck-devel.template deleted file mode 100644 index 94c97f253f..0000000000 --- a/srcpkgs/libwnck/libwnck-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libwnck-devel'. -# -depends="gtk+3-devel startup-notification-devel libXres-devel libwnck>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gir-1.0 usr/share - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libwnck/template b/srcpkgs/libwnck/template index c57c38a281..93854370a0 100644 --- a/srcpkgs/libwnck/template +++ b/srcpkgs/libwnck/template @@ -2,7 +2,6 @@ pkgname=libwnck version=3.4.5 revision=2 -subpackages="$pkgname-devel" build_style=gnu-configure hostmakedepends="pkg-config intltool gobject-introspection" makedepends="startup-notification-devel gtk+3-devel libXres-devel" @@ -12,3 +11,20 @@ homepage="http://www.gnome.org/" license="LGPL-2.1" distfiles="${GNOME_SITE}/libwnck/3.4/$pkgname-$version.tar.xz" checksum=560f9709405fb33500c2f79efabdb1c4056866dec281f354ad3da97181fbf381 + +libwnck-devel_package() { + depends="gtk+3-devel startup-notification-devel libXres-devel libwnck>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + } +} + +libwnck_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libwnck2/libwnck2-devel.template b/srcpkgs/libwnck2/libwnck2-devel.template deleted file mode 100644 index b1402f884c..0000000000 --- a/srcpkgs/libwnck2/libwnck2-devel.template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'libwnck-devel'. -# -depends="gtk+-devel startup-notification-devel libXres-devel libwnck2" -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 - mkdir -p ${DESTDIR}/usr/share - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/{gir*,gtk-doc} ${DESTDIR}/usr/share -} diff --git a/srcpkgs/libwnck2/template b/srcpkgs/libwnck2/template index 422afcae4d..a53aa234c1 100644 --- a/srcpkgs/libwnck2/template +++ b/srcpkgs/libwnck2/template @@ -1,15 +1,16 @@ # Template build file for 'libwnck2'. pkgname=libwnck2 version=2.30.7 +revision=4 wrksrc=libwnck-${version} -distfiles="${GNOME_SITE}/libwnck/2.30/libwnck-$version.tar.bz2" build_style=gnu-configure -revision=3 -makedepends="pkg-config intltool gobject-introspection startup-notification-devel libXres-devel gtk+-devel" +hostmakedepends="pkg-config intltool gobject-introspection" +makedepends="startup-notification-devel libXres-devel gtk+-devel" short_desc="Library for layout and rendering of text (GTK+2)" maintainer="Juan RP " homepage="http://www.gnome.org/" license="LGPL-2.1" +distfiles="${GNOME_SITE}/libwnck/2.30/libwnck-$version.tar.bz2" checksum=8aabbe6c87b89b170dbd6e1577a89d248323da128fff0b3ab673010f0cd6156c long_desc=" libwnck is Window Navigator Construction Kit, i.e. a library to use @@ -17,9 +18,24 @@ long_desc=" This package is based in the GTK+2 Toolkit." -subpackages="$pkgname-devel" - - post_install() { rm -rf ${DESTDIR}/usr/bin } + +libwnck2-devel_package() { + depends="gtk+-devel startup-notification-devel libXres-devel libwnck2>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + } +} + +libwnck2_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libx86/libx86-devel.template b/srcpkgs/libx86/libx86-devel.template deleted file mode 100644 index 7b40630ab8..0000000000 --- a/srcpkgs/libx86/libx86-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libx86-devel'. -# -depends="glibc-devel libx86" -short_desc="${short_desc} (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/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libx86/template b/srcpkgs/libx86/template index c09fa8ee6b..37d185bccc 100644 --- a/srcpkgs/libx86/template +++ b/srcpkgs/libx86/template @@ -1,17 +1,30 @@ # Template file for 'libx86' pkgname=libx86 version=1.1 -revision=4 -distfiles="http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$version.tar.gz " +revision=5 build_style=gnu-makefile make_build_args="BACKEND=x86emu" short_desc="Library for making real-mode x86 calls" homepage="http://www.codon.org.uk/~mjg59/libx86/" license="Custom" maintainer="Juan RP " +distfiles="http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$version.tar.gz " checksum=5bf13104cb327472b5cb65643352a9138646becacc06763088d83001d832d048 long_desc=" A library to provide support for making real-mode x86 calls with an emulated x86 processor." -subpackages="$pkgname-devel" +libx86-devel_package() { + depends="libx86>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +libx86_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libxdg-basedir/libxdg-basedir-devel.template b/srcpkgs/libxdg-basedir/libxdg-basedir-devel.template deleted file mode 100644 index 1bebc7fd1e..0000000000 --- a/srcpkgs/libxdg-basedir/libxdg-basedir-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libxdg-basedir-devel'. -# -depends="libxdg-basedir" -short_desc="${short_desc} (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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libxdg-basedir/template b/srcpkgs/libxdg-basedir/template index 877fedf457..94ba72e775 100644 --- a/srcpkgs/libxdg-basedir/template +++ b/srcpkgs/libxdg-basedir/template @@ -1,16 +1,27 @@ # Template file for 'libxdg-basedir' pkgname=libxdg-basedir version=1.1.1 +revision=3 build_style=gnu-configure homepage="http://n.ethz.ch/student/nevillm/download/libxdg-basedir" -distfiles="${homepage}/${pkgname}-${version}.tar.gz" -revision=2 short_desc="Implementation of the XDG Base Directory Specifications" maintainer="davehome " license="MIT" +distfiles="${homepage}/${pkgname}-${version}.tar.gz" checksum=2855b44619dc8d43ba7df995e538bf383f53b4276a26c7c26b7ec03c7b9be0ac -long_desc=" - Implementation of the XDG Base Directory Specifications" -subpackages="${pkgname}-devel" +libxdg-basedir-devel_package() { + depends="libxdg-basedir>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} +libxdg-basedir_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libxfce4ui/libxfce4ui-devel.template b/srcpkgs/libxfce4ui/libxfce4ui-devel.template deleted file mode 100644 index 12fa22f3b4..0000000000 --- a/srcpkgs/libxfce4ui/libxfce4ui-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libxfce4ui-devel'. -# -depends="gtk+-devel libxfce4util-devel xfconf-devel libxfce4ui>=4.10.0" -short_desc="${short_desc} - development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libxfce4ui/template b/srcpkgs/libxfce4ui/template index f043bd8a87..6687200bcd 100644 --- a/srcpkgs/libxfce4ui/template +++ b/srcpkgs/libxfce4ui/template @@ -1,20 +1,36 @@ # Template file for 'libxfce4ui' pkgname=libxfce4ui version=4.10.0 -homepage="http://xfce.org" -distfiles="http://archive.xfce.org/xfce/4.10/src/$pkgname-$version.tar.bz2" +revision=2 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config intltool gtk+-devel libxfce4util-devel xfconf-devel dbus-glib-devel libxml2-devel startup-notification-devel" -revision=1 +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel libxfce4util-devel xfconf-devel dbus-glib-devel + libxml2-devel startup-notification-devel" short_desc="Replacement of the old libxfcegui4 library" maintainer="Juan RP " license="GPL-2, LGPL-2.1" +homepage="http://xfce.org" +distfiles="http://archive.xfce.org/xfce/4.10/src/$pkgname-$version.tar.bz2" checksum=a2b9fa288ccb5f16fa13264e507ba3f7b8da0176da259a11239f21538c0ea3e2 long_desc=" This is libxfce4ui, the replacement of the old libxfcegui4 library. It is used to share commonly used Xfce widgets amoung the Xfce applications." -conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" -subpackages="$pkgname-devel" +libxfce4ui-devel_package() { + depends="gtk+-devel libxfce4util-devel xfconf-devel libxfce4ui>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + } +} +libxfce4ui_package() { + conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/libxfce4util/libxfce4util-devel.template b/srcpkgs/libxfce4util/libxfce4util-devel.template deleted file mode 100644 index bc882e154a..0000000000 --- a/srcpkgs/libxfce4util/libxfce4util-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libxfce4util-devel'. -# -depends="glib-devel libxfce4util>=4.10.0" -short_desc="${short_desc} - development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libxfce4util/template b/srcpkgs/libxfce4util/template index c1580b377b..447e6a6eb0 100644 --- a/srcpkgs/libxfce4util/template +++ b/srcpkgs/libxfce4util/template @@ -1,17 +1,31 @@ # Template file for 'libxfce4util' pkgname=libxfce4util version=4.10.0 -homepage="http://xfce.org" -distfiles="http://archive.xfce.org/src/xfce/libxfce4util/4.10/$pkgname-$version.tar.bz2" +revision=2 build_style=gnu-configure -makedepends="pkg-config intltool glib-devel" -revision=1 +hostmakedepends="pkg-config intltool" +makedepends="libglib-devel" short_desc="Utility library for the Xfce4 desktop environment" maintainer="Juan RP " license="LGPL-2.1" +homepage="http://xfce.org" +distfiles="http://archive.xfce.org/src/xfce/libxfce4util/4.10/$pkgname-$version.tar.bz2" checksum=0979fee12880bb5f011ab38d6c7cc9afe5fd68eb96ccda895cb56dbc16e7608e long_desc=" This package includes basic utility non-GUI functions for Xfce4." -subpackages="$pkgname-devel" +libxfce4util-devel_package() { + depends="libglib-devel libxfce4util>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + } +} +libxfce4util_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libxfcegui4/libxfcegui4-devel.template b/srcpkgs/libxfcegui4/libxfcegui4-devel.template deleted file mode 100644 index 029b46ac99..0000000000 --- a/srcpkgs/libxfcegui4/libxfcegui4-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libxfcegui4-devel'. -# -noarch=yes -depends="libxfce4util-devel libxfcegui4-${version}_${revision}" -short_desc="${short_desc} - 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 - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libxfcegui4/template b/srcpkgs/libxfcegui4/template index 48687e00c5..a492c3233c 100644 --- a/srcpkgs/libxfcegui4/template +++ b/srcpkgs/libxfcegui4/template @@ -1,7 +1,7 @@ # Template file for 'libxfce4gui4' pkgname=libxfcegui4 version=4.10.0 -revision=3 +revision=4 build_style=gnu-configure configure_args="--disable-static --disable-gladeui --enable-startup-notification --disable-debug" @@ -11,11 +11,26 @@ homepage="http://www.xfce.org/" license="GPL-2" distfiles="http://archive.xfce.org/src/xfce/$pkgname/4.10/$pkgname-$version.tar.bz2" checksum=2b82f9979175d8856880c8f349e6eede491ca92fe6940c69c8958115418d4533 -long_desc=" - The package includes various GTK+ widgets for Xfce." -subpackages="$pkgname-devel" -conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" -depends="hicolor-icon-theme" -makedepends="pkg-config intltool gtk+-devel libxml2-devel libxfce4util-devel +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel libxml2-devel libxfce4util-devel startup-notification-devel libglade-devel libxklavier-devel" + +libxfcegui4-devel_package() { + depends="libxfce4util-devel libxfcegui4-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + } +} + +libxfcegui4_package() { + conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" + depends="hicolor-icon-theme" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/libxkbcommon/libxkbcommon-devel.template b/srcpkgs/libxkbcommon/libxkbcommon-devel.template deleted file mode 100644 index a3be229233..0000000000 --- a/srcpkgs/libxkbcommon/libxkbcommon-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'libxkbcommon-devel'. -# -noarch=yes -depends="${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} -- 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/libxkbcommon/template b/srcpkgs/libxkbcommon/template index 8c99345ae4..5327e86179 100644 --- a/srcpkgs/libxkbcommon/template +++ b/srcpkgs/libxkbcommon/template @@ -1,11 +1,10 @@ # Template file for 'libxkbcommon'. pkgname=libxkbcommon version=0.2.0 -revision=2 +revision=3 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config flex" -subpackages="${pkgname}-devel" +hostmakedepends="pkg-config flex" short_desc="Library to handle keyboard descriptions" maintainer="Juan RP " homepage="http://xkbcommon.org/" @@ -17,3 +16,22 @@ long_desc=" them from disk, parsing them and handling their state. It's mainly meant for client toolkits, window systems, and other system applications; currently that includes Wayland, kmscon, GTK+, Clutter, and more." + +if [ "$CROSS_BUILD" ]; then + makedepends+=" libfl-devel" +fi + +libxkbcommon-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +libxkbcommon_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libxkbfile/libxkbfile-devel.template b/srcpkgs/libxkbfile/libxkbfile-devel.template deleted file mode 100644 index 69d1f55e2e..0000000000 --- a/srcpkgs/libxkbfile/libxkbfile-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libxkbfile-devel'. -# -depends="kbproto libX11-devel libxkbfile>=${version}" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libxkbfile/template b/srcpkgs/libxkbfile/template index 367cd0050f..db7a6ae4bf 100644 --- a/srcpkgs/libxkbfile/template +++ b/srcpkgs/libxkbfile/template @@ -10,4 +10,19 @@ license="MIT" homepage="${XORG_SITE}" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=8aa94e19c537c43558f30906650cea6e15fa012591445d9f927658c3b32a8f3a -subpackages="$pkgname-devel" + +libxkbfile-devel_package() { + depends="kbproto libX11-devel libxkbfile>=${version}" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +} + +libxkbfile_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libxkbui/libxkbui-devel.template b/srcpkgs/libxkbui/libxkbui-devel.template deleted file mode 100644 index d7758eec4e..0000000000 --- a/srcpkgs/libxkbui/libxkbui-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'libxkbui-devel'. -# -depends="libxkbui-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/libxkbui/template b/srcpkgs/libxkbui/template index 18453f01c9..fa3543eb50 100644 --- a/srcpkgs/libxkbui/template +++ b/srcpkgs/libxkbui/template @@ -2,7 +2,6 @@ pkgname=libxkbui version=1.0.2 revision=6 -subpackages="$pkgname-devel" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="xproto xextproto libXt-devel libxkbfile-devel" @@ -12,3 +11,19 @@ homepage="${XORG_SITE}" license="MIT" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=20c23101d63234ee5f6d696dfa069b29c6c58e39eff433bcd7705b50b3ffa214 + +libxkbui-devel_package() { + depends="libxkbui-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libxkbui_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libxklavier/libxklavier-devel.template b/srcpkgs/libxklavier/libxklavier-devel.template deleted file mode 100644 index a4d8313b53..0000000000 --- a/srcpkgs/libxklavier/libxklavier-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libxklavier-devel'. -# -depends="glib-devel libxml2-devel>=2.7.8 libxklavier>=${version}" -short_desc="${sourcepkg} -- development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/share usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/libxklavier/template b/srcpkgs/libxklavier/template index fccb20217a..eae1f62899 100644 --- a/srcpkgs/libxklavier/template +++ b/srcpkgs/libxklavier/template @@ -1,12 +1,11 @@ # Template build file for 'libxklavier'. pkgname=libxklavier version=5.3 -revision=2 -subpackages="$pkgname-devel" +revision=3 build_style=gnu-configure configure_args="--disable-static" -makedepends="pkg-config glib-devel libxkbfile-devel libxml2-devel>=2.7.8 libXi-devel gobject-introspection" -fulldepends="xkeyboard-config iso-codes" +hostmakedepends="pkg-config gobject-introspection" +makedepends="libglib-devel libxkbfile-devel libxml2-devel>=2.7.8 libXi-devel xkeyboard-config iso-codes" short_desc="Library providing high-level API for X Keyboard Extension" homepage="http://freedesktop.org/wiki/Software/LibXklavier" license="LGPL-2" @@ -18,3 +17,20 @@ long_desc=" known as XKB. This library is intended to support XFree86 and other commercial X servers. It is useful for creating XKB-related software (layout indicators etc)." + +libxklavier-devel_package() { + depends="libglib-devel libxml2-devel>=2.7.8 libxklavier>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/share + vmove usr/lib/pkgconfig + } +} + +libxklavier_package() { + depends="xkeyboard-config iso-codes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libxml++/libxml++-devel.template b/srcpkgs/libxml++/libxml++-devel.template deleted file mode 100644 index 4e5973be70..0000000000 --- a/srcpkgs/libxml++/libxml++-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libxml++-devel'. -# -noarch=yes -depends="libxml2-devel ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} - 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 - vmove usr/lib/libxml++-2.6/include usr/lib/libxml++-2.6 -} diff --git a/srcpkgs/libxml++/template b/srcpkgs/libxml++/template index 649c9d68d0..dd00c3f7a2 100644 --- a/srcpkgs/libxml++/template +++ b/srcpkgs/libxml++/template @@ -1,7 +1,7 @@ # Template build file for 'libxml++'. pkgname=libxml++ version=2.36.0 -revision=1 +revision=2 build_style=gnu-configure short_desc="C++ bindings for libxml2" maintainer="Juan RP " @@ -20,9 +20,25 @@ long_desc=" available, with existing HTTP and FTP modules and combined to an URI library." -subpackages="${pkgname}-devel" -makedepends="pkg-config libsigc++-devel libxml2-devel glib-devel glibmm-devel" +hostmakedepends="pkg-config" +makedepends="libsigc++-devel libxml2-devel libglib-devel glibmm-devel" pre_install() { sed -i -e 's/install-data-am: install-data-local install-dist_referenceDATA/install-data-am: /' Makefile } + +libxml++-devel_package() { + depends="libxml2-devel ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/libxml++-2.6/include + } +} + +libxml++_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libyaml/libyaml-devel.template b/srcpkgs/libyaml/libyaml-devel.template deleted file mode 100644 index f0087e31b9..0000000000 --- a/srcpkgs/libyaml/libyaml-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libyaml-devel'. -# -depends="glibc-devel libyaml" -short_desc="${short_desc} - 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 - vmove "usr/lib/*.a" usr/lib -} diff --git a/srcpkgs/libyaml/template b/srcpkgs/libyaml/template index 58d973c557..3655a2e4ba 100644 --- a/srcpkgs/libyaml/template +++ b/srcpkgs/libyaml/template @@ -1,21 +1,35 @@ # Template file for 'libyaml' pkgname=libyaml version=0.1.4 +revision=2 wrksrc="yaml-${version}" -homepage="http://pyyaml.org/wiki/LibYAML" -distfiles="http://pyyaml.org/download/libyaml/yaml-${version}.tar.gz" build_style=gnu-configure -revision=1 short_desc="Fast YAML 1.1 parser and emitter library" maintainer="Juan RP " license="MIT" +homepage="http://pyyaml.org/wiki/LibYAML" +distfiles="http://pyyaml.org/download/libyaml/yaml-${version}.tar.gz" checksum=7bf81554ae5ab2d9b6977da398ea789722e0db75b86bffdaeb4e66d961de6a37 long_desc=" LibYAML is a C library for parsing and emitting data in YAML 1.1, a human-readable data serialization format." -subpackages="$pkgname-devel" - post_install() { vinstall LICENSE 644 usr/share/licenses/${pkgname} } + +libyaml-devel_package() { + depends="libyaml>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} + +libyaml_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libzapojit/libzapojit-devel.template b/srcpkgs/libzapojit/libzapojit-devel.template deleted file mode 100644 index c3fcb5fc88..0000000000 --- a/srcpkgs/libzapojit/libzapojit-devel.template +++ /dev/null @@ -1,12 +0,0 @@ -# Template file for 'libgdata-devel'. -# -depends="glib-devel json-glib-devel libsoup-devel rest-devel - ${sourcepkg}-${version}_${revision}" -short_desc="${short_desc} - development files" - -do_install() { - mkdir -p ${DESTDIR}/usr/{lib,share} - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/{gtk-doc,gir-1.0} ${DESTDIR}/usr/share -} diff --git a/srcpkgs/libzapojit/template b/srcpkgs/libzapojit/template index 540ac8574f..92f8e60ac7 100644 --- a/srcpkgs/libzapojit/template +++ b/srcpkgs/libzapojit/template @@ -1,8 +1,7 @@ # Template file for 'libzapojit' pkgname=libzapojit version=0.0.3 -revision=1 -subpackages="$pkgname-devel" +revision=2 build_style=gnu-configure configure_args="--disable-static" hostmakedepends="pkg-config intltool gobject-introspection" @@ -13,3 +12,21 @@ license="LGPL-2.1" homepage="http://live.gnome.org/Zapojit" distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz" checksum=3d25f99329105abb99d1e9651b0aa1842065456ea54c22970a7330e9f3d1c37e + +libzapojit-devel_package() { + depends="libglib-devel json-glib-devel libsoup-devel rest-devel + ${sourcepkg}-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gir-1.0 + vmove usr/share/gtk-doc + } +} + +libzapojit_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libzeitgeist/libzeitgeist-devel.template b/srcpkgs/libzeitgeist/libzeitgeist-devel.template deleted file mode 100644 index a3ff42e120..0000000000 --- a/srcpkgs/libzeitgeist/libzeitgeist-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'libzeitgeist-devel'. -# -noarch=yes -depends="${sourcepkg}>=$version" -short_desc="${short_desc} -- 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 - vmove usr/share/vala usr/share - vmove usr/share/gtk-doc usr/share -} diff --git a/srcpkgs/libzeitgeist/template b/srcpkgs/libzeitgeist/template index 94cc742cf9..6844960467 100644 --- a/srcpkgs/libzeitgeist/template +++ b/srcpkgs/libzeitgeist/template @@ -1,11 +1,11 @@ # Template file for 'libzeitgeist' pkgname=libzeitgeist version=0.3.18 -revision=1 +revision=2 build_style=gnu-configure -makedepends="pkg-config glib-devel" +hostmakedepends="pkg-config" +makedepends="libglib-devel" configure_args="--disable-static" -subpackages="${pkgname}-devel" short_desc="Zeitgeist Client Library" maintainer="Juan RP " homepage="https://launchpad.net/libzeitgeist" @@ -20,3 +20,20 @@ long_desc=" post_install() { rm -rf ${DESTDIR}/usr/share/doc } + +libzeitgeist-devel_package() { + depends="${sourcepkg}>=$version" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/vala + vmove usr/share/gtk-doc + } +} + +libzeitgeist_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/libzip/libzip-devel.template b/srcpkgs/libzip/libzip-devel.template deleted file mode 100644 index ba547e6634..0000000000 --- a/srcpkgs/libzip/libzip-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -short_desc="${short_desc} - development files" -depends="${sourcepkg}>=${version}" - -do_install() { - vmove usr/share/man/man3 usr/share/man - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove "usr/lib/*.a" usr/lib - vmove usr/lib/libzip usr/lib -} diff --git a/srcpkgs/libzip/template b/srcpkgs/libzip/template index 366fd44e9b..3434cab773 100644 --- a/srcpkgs/libzip/template +++ b/srcpkgs/libzip/template @@ -2,7 +2,6 @@ pkgname=libzip version=0.10.1 revision=1 -subpackages="libzip-devel" build_style=gnu-configure short_desc="C library for reading, creating, and modifying zip archives" maintainer="pancake " @@ -10,3 +9,21 @@ license="GPL-2" homepage="http://www.nih.at/libzip/" distfiles="${homepage}/${pkgname}-${version}.tar.gz" checksum=a7cdb5112004db5147f330f16c0f0e732922c342b9f0cda422c45e254590b617 + +libzip-devel_package() { + depends="${sourcepkg}>=${version}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/share/man/man3 + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/lib/libzip + } +} + +libzip_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lightdm-gtk-greeter/template b/srcpkgs/lightdm-gtk-greeter/template index ffb880c47c..fcadfaaa63 100644 --- a/srcpkgs/lightdm-gtk-greeter/template +++ b/srcpkgs/lightdm-gtk-greeter/template @@ -30,3 +30,11 @@ post_install() { cd ${DESTDIR}//usr/share/xgreeters && \ ln -sf ${pkgname}.desktop default.desktop } + +lightdm-gtk-greeter_package() { + conf_files="/etc/lightdm/lightdm-gtk-greeter.conf" + depends="lightdm" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lightdm/liblightdm-gobject.template b/srcpkgs/lightdm/liblightdm-gobject.template deleted file mode 100644 index 352b4cba5c..0000000000 --- a/srcpkgs/lightdm/liblightdm-gobject.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'liblightdm-gobject'. -# -short_desc="${short_desc} - GObject support library" -long_desc="${long_desc} - - This package contains the GObject support library for LightDM." - -do_install() { - vmove "usr/lib/liblightdm-gobject*.so*" usr/lib - vmove usr/lib/girepository-1.0 usr/lib -} diff --git a/srcpkgs/lightdm/liblightdm-qt.template b/srcpkgs/lightdm/liblightdm-qt.template deleted file mode 100644 index 5e8bad1e45..0000000000 --- a/srcpkgs/lightdm/liblightdm-qt.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'liblightdm-qt'. -# -short_desc="${short_desc} - QT support library" -long_desc="${long_desc} - - This package contains the QT support library for LightDM." - -do_install() { - vmove "usr/lib/liblightdm-qt*.so*" usr/lib -} diff --git a/srcpkgs/lightdm/lightdm-devel.template b/srcpkgs/lightdm/lightdm-devel.template deleted file mode 100644 index 8b4f8bd855..0000000000 --- a/srcpkgs/lightdm/lightdm-devel.template +++ /dev/null @@ -1,18 +0,0 @@ -# Template file for 'lightdm-devel. -# -depends="glib-devel liblightdm-gobject-${version}_${revision} - liblightdm-qt-${version}_${revision}" -noarch=yes - -short_desc="${short_desc} - development files" -long_desc="${long_desc} - - This package contains headers, static libs, etc for LightDM." - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib - vmove usr/share/gtk-doc usr/share - vmove usr/share/vala usr/share - vmove usr/share/gir-1.0 usr/share -} diff --git a/srcpkgs/lightdm/template b/srcpkgs/lightdm/template index 8f08c4fcd8..e32458f590 100644 --- a/srcpkgs/lightdm/template +++ b/srcpkgs/lightdm/template @@ -1,11 +1,10 @@ # Template file for 'lightdm' pkgname=lightdm version=1.4.0 -revision=3 +revision=4 build_style=gnu-configure configure_args="--with-greeter-session=lightdm-gtk-greeter --with-greeter-user=lightdm --disable-static --disable-tests" -fulldepends="gnome-icon-theme dbus" short_desc="Light Display Manager" maintainer="Juan RP " license="GPL-3, LGPL-3" @@ -20,23 +19,9 @@ long_desc=" * Fully themeable (easiest with the webkit interface) * Cross-desktop (greeters can be written in any toolkit)" -depends="accountsservice upower" makedepends="pkg-config intltool dbus-glib-devel libxklavier-devel libxml2-devel qt-devel gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel - gobject-introspection itstool" - -conf_files=" -/etc/lightdm/keys.conf -/etc/lightdm/lightdm.conf -/etc/lightdm/users.conf -/etc/pam.d/lightdm -/etc/pam.d/lightdm-autologin" - -system_accounts="lightdm" -lightdm_homedir="/var/cache/lightdm" -systemd_services="lightdm.service off" -make_dirs="/var/cache/lightdm 0755 lightdm lightdm" -subpackages="liblightdm-gobject liblightdm-qt lightdm-devel" + gobject-introspection itstool gnome-icon-theme dbus" post_install() { # Remove provided init file and use our own. @@ -61,3 +46,49 @@ post_install() { sed -i -e "s|#autologin-session=UNIMPLEMENTED|#autologin-session=UNIMPLEMENTED\n#pam-service=lightdm-autologin|g" \ ${DESTDIR}/etc/lightdm/lightdm.conf } + +liblightdm-gobject_package() { + short_desc="${short_desc} - GObject support library" + pkg_install() { + vmove "usr/lib/liblightdm-gobject*.so*" + vmove usr/lib/girepository-1.0 + } +} + +liblightdm-qt_package() { + short_desc="${short_desc} - QT support library" + pkg_install() { + vmove "usr/lib/liblightdm-qt*.so*" + } +} + +lightdm-devel_package() { + depends="libglib-devel liblightdm-gobject-${version}_${revision} + liblightdm-qt-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + vmove usr/share/vala + vmove usr/share/gir-1.0 + } +} + +lightdm_package() { + conf_files=" + /etc/lightdm/keys.conf + /etc/lightdm/lightdm.conf + /etc/lightdm/users.conf + /etc/pam.d/lightdm + /etc/pam.d/lightdm-autologin" + system_accounts="lightdm" + lightdm_homedir="/var/cache/lightdm" + systemd_services="lightdm.service off" + make_dirs="/var/cache/lightdm 0755 lightdm lightdm" + depends="gnome-icon-theme dbus accountsservice upower" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/lightspark/template b/srcpkgs/lightspark/template index f2c8538253..d89eb803c2 100644 --- a/srcpkgs/lightspark/template +++ b/srcpkgs/lightspark/template @@ -5,16 +5,22 @@ revision=4 patch_args="-Np1" build_style=cmake configure_args="-DAUDIO_BACKEND=pulse -DENABLE_CURL=1 -DCOMPILE_PLUGIN=1" -depends="hicolor-icon-theme desktop-file-utils" makedepends="pkg-config cmake nasm pcre-devel>=8.30 libffi-devel libX11-devel fontconfig-devel boost-devel SDL-devel ffmpeg-devel>=1.0.1 libcurl-devel MesaLib-devel ftgl-devel glew-devel>=1.9.0 libxml2-devel libxml++-devel glibmm-devel gtk+-devel libjpeg-turbo-devel pulseaudio-devel llvm>=3.2 librtmp-devel liblzma-devel" -conf_files="/etc/xdg/lightspark.conf" short_desc="Modern, free, open-source flash player implementation" maintainer="Juan RP " homepage="http://lightspark.github.com/" license="LGPL-3" distfiles="http://launchpad.net/lightspark/trunk/$pkgname-$version/+download/$pkgname-$version.tar.gz" checksum=f3df63692ad8409888336a58f4db96b3344737d492df3a3f06c7359fdf26c85b + +lightspark_package() { + conf_files="/etc/xdg/lightspark.conf" + depends="hicolor-icon-theme desktop-file-utils" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lilv/liblilv.template b/srcpkgs/lilv/liblilv.template deleted file mode 100644 index f651996374..0000000000 --- a/srcpkgs/lilv/liblilv.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'liblilv'. -# -short_desc="${short_desc} - Runtime library" -long_desc="${long_desc} - - This package contains the lilv runtime library." - - -do_install() -{ - vmove "usr/lib/*.so*" usr/lib - chmod 755 ${DESTDIR}/usr/lib/*.so* -} diff --git a/srcpkgs/lilv/lilv-bash-completion.template b/srcpkgs/lilv/lilv-bash-completion.template deleted file mode 100644 index 155fd846e5..0000000000 --- a/srcpkgs/lilv/lilv-bash-completion.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'lilv-bash-completion'. -# -depends="bash-completion lilv" -short_desc="${short_desc} - Bash completion for Lilv" -long_desc="${long_desc} - - This package contains a bash completion file for the Lilv programs." - - -do_install() -{ - vmove usr/etc usr -} diff --git a/srcpkgs/lilv/lilv-devel.template b/srcpkgs/lilv/lilv-devel.template deleted file mode 100644 index fc75b984da..0000000000 --- a/srcpkgs/lilv/lilv-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'lilv-devel'. -# -noarch=yes -depends="glibc-devel sord-devel liblilv>=${version}" -short_desc="${short_desc} - Development files" -long_desc="${long_desc} - - This package contains files for development: headers, etc." - -do_install() -{ - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/lilv/template b/srcpkgs/lilv/template index 41c09ba86f..129240ea07 100644 --- a/srcpkgs/lilv/template +++ b/srcpkgs/lilv/template @@ -1,21 +1,49 @@ # Template file for 'lilv' pkgname=lilv version=0.14.4 +revision=2 build_style=waf configure_args="--dyn-manifest" -homepage="http://drobilla.net/software/lilv/" -distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2" -revision=1 makedepends="pkg-config python serd-devel>=0.18.0 sord-devel -sratom-devel>=0.4.0 lv2" + sratom-devel>=0.4.0 lv2" short_desc="Lilv is a simple yet powerful C API for using LV2 plugins." maintainer="davehome " license="ISC" +homepage="http://drobilla.net/software/lilv/" +distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2" checksum=4a92b3961f1483370509200741c33e826e4205308bee09923d0fd938653fdf8b long_desc=" Lilv is a library to make the use of LV2 plugins as simple as possible for applications. Lilv is the successor to SLV2, rewritten to be significantly faster and have minimal dependencies." -subpackages="$pkgname-devel lib$pkgname $pkgname-bash-completion" +liblilv_package() { + short_desc="${short_desc} - Runtime library" + pkg_install() + vmove "usr/lib/*.so*" + chmod 755 ${PKGDESTDIR}/usr/lib/*.so* + } +} +lilv-bash-completion_package() { + depends="bash-completion lilv" + short_desc="${short_desc} - Bash completion for Lilv" + pkg_install() { + vmove usr/etc + } +} + +lilv-devel_package() { + depends="sord-devel liblilv>=${version}" + short_desc="${short_desc} - Development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +lilv_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/linux-firmware/linux-firmware-network.template b/srcpkgs/linux-firmware/linux-firmware-network.template deleted file mode 100644 index 657dc27a1f..0000000000 --- a/srcpkgs/linux-firmware/linux-firmware-network.template +++ /dev/null @@ -1,26 +0,0 @@ -# Template file for 'linux-firmware-network'. -# -short_desc="${short_desc} for network modules" -long_desc="${long_desc} - - This package contains only the required firmware files for the - Network modules." - -noarch=yes - -do_install() { - # 3Com - vmove usr/lib/firmware/3com usr/lib/firmware - # Realtek - vmove usr/lib/firmware/RTL8192E usr/lib/firmware - vmove "usr/lib/firmware/rt*" usr/lib/firmware - # Atheros - vmove "usr/lib/firmware/ath*" usr/lib/firmware - vmove "usr/lib/firmware/ar*" usr/lib/firmware - # bnx2 - vmove "usr/lib/firmware/bnx2*" usr/lib/firmware - # Broadcom - vmove usr/lib/firmware/brcm usr/lib/firmware - # Intel - vmove "usr/lib/firmware/i*" usr/lib/firmware -} diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template index 236b98baa1..33b2ba4a97 100644 --- a/srcpkgs/linux-firmware/template +++ b/srcpkgs/linux-firmware/template @@ -12,15 +12,6 @@ long_desc=" This package provides binary firmware blobs for misc hardware supported by the Linux kernel." -replaces="kernel-firmware>=0 radeon-firmware>=0 iwl1000-firmware>=0 - iwl3945-firmware>=0 iwl4965-firmware>=0 iwl5000-firmware>=0 - iwl5150-firmware>=0 iwl6000-firmware>=0 rt73usb-firmware>=0 - rt2800usb>=0 rt61-firmware>=0 ar9170-firmware>=0" - -noarch=yes -depends="${pkgname}-network-${version}_${revision}" -subpackages="${pkgname}-network" - do_install() { vmkdir usr/lib/firmware vmkdir usr/share/licenses/${pkgname} @@ -29,3 +20,36 @@ do_install() { mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \ ${DESTDIR}/usr/share/licenses/${pkgname} } + +linux-firmware-network_package() { + short_desc="${short_desc} for network modules" + noarch=yes + pkg_install() { + # 3Com + vmove usr/lib/firmware/3com + # Realtek + vmove usr/lib/firmware/RTL8192E + vmove "usr/lib/firmware/rt*" + # Atheros + vmove "usr/lib/firmware/ath*" + vmove "usr/lib/firmware/ar*" + # bnx2 + vmove "usr/lib/firmware/bnx2*" + # Broadcom + vmove usr/lib/firmware/brcm + # Intel + vmove "usr/lib/firmware/i*" + } +} + +linux-firmware_package() { + replaces="kernel-firmware>=0 radeon-firmware>=0 iwl1000-firmware>=0 + iwl3945-firmware>=0 iwl4965-firmware>=0 iwl5000-firmware>=0 + iwl5150-firmware>=0 iwl6000-firmware>=0 rt73usb-firmware>=0 + rt2800usb>=0 rt61-firmware>=0 ar9170-firmware>=0" + depends="${pkgname}-network-${version}_${revision}" + noarch=yes + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/linux-user-chroot/template b/srcpkgs/linux-user-chroot/template index 1945d2d4c8..83266e5d06 100644 --- a/srcpkgs/linux-user-chroot/template +++ b/srcpkgs/linux-user-chroot/template @@ -3,7 +3,7 @@ pkgname=linux-user-chroot version=v2012.2 revision=1 build_style=gnu-configure -makedepends="git automake" +hostmakedepends="automake" short_desc="Setuid helper for making bind mounts and chrooting" maintainer="Juan RP " homepage="http://git.gnome.org/browse/linux-user-chroot/" @@ -27,3 +27,9 @@ do_fetch() { pre_configure() { ./autogen.sh } + +linux-user-chroot_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lm-sensors/libsensors-devel.template b/srcpkgs/lm-sensors/libsensors-devel.template deleted file mode 100644 index 0a420e6b1c..0000000000 --- a/srcpkgs/lm-sensors/libsensors-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'libsensors-devel'. -# -noarch=yes -depends="libsensors-${version}_${revision}" -short_desc="lm-sensors development kit" -long_desc="${long_desc} - - This package contains the static library and header files used in - development." - -do_install() { - vmove usr/include usr - vmove usr/share/man/man3 usr/share/man -} diff --git a/srcpkgs/lm-sensors/libsensors.template b/srcpkgs/lm-sensors/libsensors.template deleted file mode 100644 index 36cd562956..0000000000 --- a/srcpkgs/lm-sensors/libsensors.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'libsensors'. -# -short_desc="Library to read temperature/voltage/fan sensors" -long_desc="${long_desc} - - This package contains a shared library for querying lm-sensors." - -do_install() { - vmove "usr/lib/*.so*" usr/lib -} diff --git a/srcpkgs/lm-sensors/template b/srcpkgs/lm-sensors/template index 43d7386322..8b1ec938fb 100644 --- a/srcpkgs/lm-sensors/template +++ b/srcpkgs/lm-sensors/template @@ -1,10 +1,9 @@ # Template file for 'lm-sensors' pkgname=lm-sensors version=3.3.3 -revision=1 +revision=2 wrksrc="lm_sensors-${version}" -makedepends="which flex" -fulldepends="perl" +hostmakedepends="which flex perl" short_desc="Utilities to read temperature/voltage/fan sensors" maintainer="Juan RP " license="GPL-2, LGPL-2.1" @@ -15,14 +14,35 @@ long_desc=" $pkgname provides most complete hardware health monitoring support for Linux, in the form of kernel drivers and a user-space library" -conf_files="/etc/sensors3.conf" -subpackages="libsensors libsensors-devel" - do_build() { make CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=/usr ${makejobs} } do_install() { make PREFIX=/usr MANDIR=/usr/share/man DESTDIR=${DESTDIR} install - rm -f ${DESTDIR}/usr/lib/*.a +} + +libsensors_package() { + short_desc="Library to read temperature/voltage/fan sensors" + pkg_install() { + vmove "usr/lib/*.so*" + } +} + +libsensors-devel_package() { + depends="libsensors-${version}_${revision}" + short_desc="lm-sensors development kit" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/share/man/man3 + } +} + +lm-sensors_package() { + conf_files="/etc/sensors3.conf" + pkg_install() { + vmove etc + vmove usr + } } diff --git a/srcpkgs/lockdev/lockdev-devel.template b/srcpkgs/lockdev/lockdev-devel.template deleted file mode 100644 index 145eed499a..0000000000 --- a/srcpkgs/lockdev/lockdev-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'lockdev-devel'. -# -depends="lockdev>=$version" -short_desc="${short_desc} -- development files" - -do_install() { - vmove usr/include usr - vmove "usr/lib/*.a" usr/lib - vmove usr/share usr -} diff --git a/srcpkgs/lockdev/template b/srcpkgs/lockdev/template index 10763eaa7d..ee36bc0983 100644 --- a/srcpkgs/lockdev/template +++ b/srcpkgs/lockdev/template @@ -2,7 +2,6 @@ pkgname=lockdev version=1.0.3 revision=1 -subpackages="${pkgname}-devel" short_desc="Run-time shared library for locking devices" maintainer="Juan RP " homepage="http://packages.qa.debian.org/l/lockdev.html" @@ -25,3 +24,19 @@ do_install() { ${DESTDIR}/usr/lib/liblockdev.${f} done } + +lockdev-devel_package() { + depends="lockdev>=$version" + short_desc="${short_desc} -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/share + } +} + +lockdev_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/logrotate/template b/srcpkgs/logrotate/template index 603e7e80af..e84c6ddba7 100644 --- a/srcpkgs/logrotate/template +++ b/srcpkgs/logrotate/template @@ -1,14 +1,13 @@ # Template file for 'logrotate' pkgname=logrotate version=3.8.1 -distfiles="https://fedorahosted.org/releases/l/o/$pkgname/${pkgname}-${version}.tar.gz" revision=1 makedepends="popt-devel" -fulldepends="gzip" short_desc="Log file rotation and periodic maintenance" maintainer="Juan RP " homepage="https://fedorahosted.org/logrotate/" license="GPL-2" +distfiles="https://fedorahosted.org/releases/l/o/$pkgname/${pkgname}-${version}.tar.gz" checksum=c12471e70ae8bc923bd5c4f25e8fd6483b68c6301f3cd79f7cfe37bc5b370169 long_desc=" $pkgname performs periodic maintenance of log files. The most common @@ -18,21 +17,24 @@ long_desc=" rotation to handle stopping, restarting, or sending signals to servers, and it automatically compresses logs when it archives them." -conf_files="/etc/logrotate.conf" - - -do_build() -{ +do_build() { sed -i "s|CFLAGS = -Wall|CFLAGS += -Wall|" Makefile sed -i 's|$(BASEDIR)/man|$(BASEDIR)/share/man|' Makefile sed -i "s|/bin/\(g.*zip\)|/usr/bin/\1|g" config.h make ${makejobs} } -do_install() -{ +do_install() { make PREFIX=${DESTDIR} install vinstall ${FILESDIR}/logrotate.conf 644 etc vinstall ${FILESDIR}/logrotate.cron-daily 744 etc/cron.daily logrotate } + +logrotate_package() { + conf_files="/etc/logrotate.conf" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/lrzsz/template b/srcpkgs/lrzsz/template index b925ad30b0..612e8bcfe0 100644 --- a/srcpkgs/lrzsz/template +++ b/srcpkgs/lrzsz/template @@ -20,3 +20,9 @@ do_build() { do_install() { make DESTDIR=$DESTDIR install } + +lrzsz_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lsof/template b/srcpkgs/lsof/template index 28694f4042..9879baa0fb 100644 --- a/srcpkgs/lsof/template +++ b/srcpkgs/lsof/template @@ -3,7 +3,7 @@ pkgname=lsof version=4.87 revision=1 wrksrc=lsof_${version} -makedepends="which perl" +hostmakedepends="which perl" short_desc="LiSt Open Files" maintainer="Juan RP " homepage="http://people.freebsd.org/~abe/" @@ -35,3 +35,9 @@ do_install() { vinstall lsof.8 644 usr/share/man/man8 vinstall ${FILESDIR}/license.txt 644 usr/share/licenses/lsof } + +lsof_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template index ceb5e3d1de..0094303547 100644 --- a/srcpkgs/ltrace/template +++ b/srcpkgs/ltrace/template @@ -2,7 +2,6 @@ pkgname=ltrace version=0.7.2 revision=1 -conf_files="/etc/ltrace.conf" build_style=gnu-configure makedepends="elfutils-devel" short_desc="Tracks runtime library calls in dynamically linked programs" @@ -15,3 +14,11 @@ long_desc=" ltrace intercepts and records dynamic library calls which are called by an executed process and the signals received by that process. It can also intercept and print the system calls executed by the program." + +ltrace_package() { + conf_files="/etc/ltrace.conf" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/ltris/template b/srcpkgs/ltris/template index 614f9ec14f..61e32a155a 100644 --- a/srcpkgs/ltris/template +++ b/srcpkgs/ltris/template @@ -1,15 +1,16 @@ # Template file for 'ltris' pkgname=ltris version=1.0.14 -distfiles="${SOURCEFORGE_SITE}/lgames/$pkgname-$version.tar.gz" +revision=2 build_style=gnu-configure configure_args="--localstatedir=/var/games/ltris" -revision=2 -makedepends="bison SDL-devel SDL_mixer-devel" +hostmakedepends="bison" +makedepends="SDL-devel SDL_mixer-devel" short_desc="An SDL tetris clone" homepage="http://lgames.sourceforge.net/index.php?project=LTris" license="GPL-2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lgames/$pkgname-$version.tar.gz" checksum=d6816aa70f55c73e0de2ccb81281a92aa063d3a90b362810002db010f4e3b3b2 long_desc=" LTris as a tetris clone: differently shaped blocks are falling down the @@ -17,3 +18,9 @@ long_desc=" units with the aim of building lines without gaps which then disappear (causing any block above the deleted line to fall down)." +ltris_package() { + pkg_install() { + vmove usr + vmove var + } +} diff --git a/srcpkgs/luafilesystem/template b/srcpkgs/luafilesystem/template index f7d3605063..56d004cd69 100644 --- a/srcpkgs/luafilesystem/template +++ b/srcpkgs/luafilesystem/template @@ -1,16 +1,14 @@ # Template file for 'luafilesystem' pkgname=luafilesystem version=1.5.0 -homepage="http://keplerproject.github.com/luafilesystem" -distfiles="https://github.com/downloads/keplerproject/$pkgname/$pkgname-$version.tar.gz" -build_style=gnu-makefile -make_install_args="PREFIX=${XBPS_DESTDIR}/${pkgname}-${version}/usr" -depends="lua" -makedepends="lua-devel" revision=1 +build_style=gnu-makefile +makedepends="lua-devel" short_desc="File System Library for the Lua Programming Language" maintainer="davehome " license="MIT" +homepage="http://keplerproject.github.com/luafilesystem" +distfiles="https://github.com/downloads/keplerproject/$pkgname/$pkgname-$version.tar.gz" checksum=00f6e1dc1e1da7f0fa77e375f0a04908ec4241a4c5e8d98031614f4a4a50c7cb long_desc=" LuaFileSystem is a Lua library developed to complement the set of functions @@ -19,7 +17,15 @@ long_desc=" LuaFileSystem offers a portable way to access the underlying directory structure and file attributes." +do_install() { + make PREFIX=${DESTDIR}/usr install -post_install() { vinstall tests/test.lua 755 usr/share/examples/${pkgname} } + +luafilesystem_package() { + depends="lua" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/luaposix/template b/srcpkgs/luaposix/template index 873ffe9ee2..7d60761f0e 100644 --- a/srcpkgs/luaposix/template +++ b/srcpkgs/luaposix/template @@ -1,16 +1,16 @@ # Template file for 'luaposix' pkgname=luaposix version=5.1.15 -homepage="http://luaforge.net/projects/luaposix/" -distfiles="https://github.com/downloads/rrthomas/$pkgname/$pkgname-$version.tar.gz" +revision=1 build_style=gnu-configure configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1" -depends="lua" -makedepends="perl>=0 lua-devel" -revision=1 +hostmakedepends="perl" +makedepends="lua-devel" short_desc="A POSIX library for Lua programming language" maintainer="davehome " license="GPL-2, LGPL-2.1" +homepage="http://luaforge.net/projects/luaposix/" +distfiles="https://github.com/downloads/rrthomas/$pkgname/$pkgname-$version.tar.gz" checksum=43a4be3279f42cbfcba6f9ae5218d786246203133d4a73806a53f53f95d6241c long_desc=" This is a POSIX library, including curses, for Lua 5.1 and later. It @@ -18,9 +18,14 @@ long_desc=" http://www.lua.org/copyright.html; it's basically the same as the BSD license). There is no warranty." - - post_install() { vmkdir usr/share/$pkgname/examples vcopy "*.lua" usr/share/$pkgname/examples } + +luaposix_package() { + depends="lua" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/luasocket/template b/srcpkgs/luasocket/template index f0411677ed..4f5de8291a 100644 --- a/srcpkgs/luasocket/template +++ b/srcpkgs/luasocket/template @@ -1,15 +1,14 @@ # Template file for 'luasocket' pkgname=luasocket version=2.0.2 -homepage="http://www.cs.princeton.edu/~diego/professional/luasocket/" -distfiles="http://luaforge.net/frs/download.php/2664/luasocket-$version.tar.gz" -build_style=gnu-makefile -depends="lua" -makedepends="lua-devel" revision=1 +build_style=gnu-makefile +makedepends="lua-devel" short_desc="Network support for the Lua language " maintainer="davehome " license="MIT" +homepage="http://www.cs.princeton.edu/~diego/professional/luasocket/" +distfiles="http://luaforge.net/frs/download.php/2664/luasocket-$version.tar.gz" checksum=4fd9c775cfd98841299851e29b30176caf289370fea1ff1e00bb67c2d6842ca6 long_desc=" LuaSocket is a Lua extension library that is composed by two parts: a C core @@ -17,3 +16,9 @@ long_desc=" modules that add support for functionality commonly needed by applications that deal with the Internet." +luasocket_package() { + depends="lua" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lutok/lutok-devel.template b/srcpkgs/lutok/lutok-devel.template deleted file mode 100644 index 87dbef55eb..0000000000 --- a/srcpkgs/lutok/lutok-devel.template +++ /dev/null @@ -1,14 +0,0 @@ -# Template file for 'lutok-devel'. -# -depends="lua-devel lutok>=$version" -short_desc="${short_desc} - 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/doc usr/share -} diff --git a/srcpkgs/lutok/template b/srcpkgs/lutok/template index 8f48f9fb45..ad03a81118 100644 --- a/srcpkgs/lutok/template +++ b/srcpkgs/lutok/template @@ -1,10 +1,9 @@ # Template file for 'lutok' pkgname=lutok version=0.2 -revision=2 +revision=3 build_style=gnu-configure configure_args="--with-doxygen" -subpackages="lutok-devel" hostmakedepends="pkg-config doxygen" makedepends="lua-devel" short_desc="Lightweight C++ API for Lua" @@ -20,3 +19,20 @@ long_desc=" exceptions and ensure that the Lua stack is always left untouched in the face of errors. The library also provides a small subset of miscellaneous utility functions built on top of the wrappers." + +lutok-devel_package() { + depends="lua-devel lutok>=$version" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share/doc + } +} + +lutok_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lv2/template b/srcpkgs/lv2/template index 3949b5a24f..89d301f736 100644 --- a/srcpkgs/lv2/template +++ b/srcpkgs/lv2/template @@ -4,21 +4,25 @@ version=1.0.0 revision=1 build_style=waf homepage="http://lv2plug.in" -distfiles="http://lv2plug.in/spec/${pkgname}-${version}.tar.bz2" makedepends="python libsndfile-devel gtk+-devel" short_desc="Plugin standard for audio systems" maintainer="davehome " license="LGPL-2.1, BSD" +distfiles="http://lv2plug.in/spec/${pkgname}-${version}.tar.bz2" checksum=857ec8c1b1f803409e57b84f75b0f8ae7477a9c6bccb4a66220d739e8e39d751 long_desc=" LV2 is a plugin standard for audio systems. It defines a minimal yet extensible C API for plugin code and a format for plugin bundles." -replaces="lv2core>=0 lv2-ui>=0" -provides="lv2core-999 lv2-ui-999" -conflicts="lv2core>=0 lv2-ui>=0" - -post_install() -{ +post_install() { vinstall COPYING 0644 usr/share/licenses/${pkgname} } + +lv2_package() { + replaces="lv2core>=0 lv2-ui>=0" + provides="lv2core-999 lv2-ui-999" + conflicts="lv2core>=0 lv2-ui>=0" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lvm2/device-mapper-devel.template b/srcpkgs/lvm2/device-mapper-devel.template deleted file mode 100644 index 511acf5aeb..0000000000 --- a/srcpkgs/lvm2/device-mapper-devel.template +++ /dev/null @@ -1,10 +0,0 @@ -# Template file for 'device-mapper-devel' -# -noarch=yes -depends="readline-devel ncurses-devel device-mapper-${version}_${revision}" -short_desc="Device Mapper userspace library -- development files" - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/lvm2/device-mapper.template b/srcpkgs/lvm2/device-mapper.template deleted file mode 100644 index adfdd3e395..0000000000 --- a/srcpkgs/lvm2/device-mapper.template +++ /dev/null @@ -1,20 +0,0 @@ -# Template file for 'device-mapper' -# -short_desc="Device Mapper userspace library and tools" -replaces="lvm2<2.02.95_3" - -do_install() { - vmove "usr/sbin/dm*" usr/sbin - vmove "usr/lib/libdevmapper*.so*" usr/lib - vmove "usr/lib/liblvm2cmd.so*" usr/lib - vmove "usr/share/man/man8/dm*" usr/share/man/man8 - vmove usr/lib/device-mapper usr/lib - for f in 10-dm 13-dm-disk 95-dm-notify; do - vmove usr/lib/udev/rules.d/${f}.rules usr/lib/udev/rules.d - done - vmkdir usr/lib/systemd/system/sockets.target.wants - vinstall ${FILESDIR}/dmeventd.service 644 usr/lib/systemd/system - vinstall ${FILESDIR}/dmeventd.socket 644 usr/lib/systemd/system - ln -sf /usr/lib/systemd/system/dmeventd.socket \ - ${DESTDIR}/usr/lib/systemd/system/sockets.target.wants/dmeventd.socket -} diff --git a/srcpkgs/lvm2/liblvm2app-devel.template b/srcpkgs/lvm2/liblvm2app-devel.template deleted file mode 100644 index f46432004e..0000000000 --- a/srcpkgs/lvm2/liblvm2app-devel.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'liblvm2app-devel' -# -noarch=yes -depends="device-mapper-devel-${version}_${revision} - liblvm2app-${version}_${revision}" -short_desc="LVM2 application library - development files" - -do_install() { - vmove usr/include/lvm2app.h usr/include - vmove "usr/lib/pkgconfig/lvm2app*" usr/lib/pkgconfig -} diff --git a/srcpkgs/lvm2/liblvm2app.template b/srcpkgs/lvm2/liblvm2app.template deleted file mode 100644 index 51d69706a8..0000000000 --- a/srcpkgs/lvm2/liblvm2app.template +++ /dev/null @@ -1,7 +0,0 @@ -# Template file for 'liblvm2app' -# -short_desc="LVM2 application library" - -do_install() { - vmove "usr/lib/liblvm2app.so*" usr/lib -} diff --git a/srcpkgs/lvm2/template b/srcpkgs/lvm2/template index a399dca755..e2a2e0d702 100644 --- a/srcpkgs/lvm2/template +++ b/srcpkgs/lvm2/template @@ -1,7 +1,7 @@ # Template file for 'lvm2' pkgname=lvm2 version=2.02.98 -revision=3 +revision=4 wrksrc=LVM2.${version} build_style=gnu-configure configure_args="--disable-selinux --enable-readline --enable-pkgconfig @@ -13,8 +13,6 @@ configure_args="--disable-selinux --enable-readline --enable-pkgconfig --with-default-locking-dir=/run/lock/lvm --enable-lvmetad" hostmakedepends="pkg-config" makedepends="readline-devel libudev-devel>=183" -subpackages="liblvm2app liblvm2app-devel device-mapper device-mapper-devel" -conf_files="/etc/lvm/lvm.conf" short_desc="Logical Volume Manager 2 utilities" maintainer="Juan RP " homepage="http://sourceware.org/lvm2/" @@ -22,13 +20,8 @@ license="GPL-2, LGPL-2.1" distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz" checksum=71030a58fef7e00d82ca4144334548e46aad24551a3cfbe7c3059b1bd137d864 -make_dirs=" - /etc/lvm/archive 0755 root root - /etc/lvm/backup 0755 root root" - if [ "$CROSS_BUILD" ]; then - configure_args="${configure_args} ac_cv_func_malloc_0_nonnull=yes - ac_cv_func_realloc_0_nonnull=yes" + configure_args+=" ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes" fi post_install() { @@ -43,3 +36,63 @@ post_install() { # enable lvmetad sed 's|use_lvmetad = 0|use_lvmetad = 1|' -i ${DESTDIR}/etc/lvm/lvm.conf } + +device-mapper-devel_package() { + depends="readline-devel ncurses-devel device-mapper-${version}_${revision}" + short_desc="Device Mapper userspace library -- development files" + pkg_install() { + vmove usr/lib/pkgconfig/devmapper.pc + vmove usr/lib/pkgconfig/devmapper-event.pc + vmove usr/include/libdevmapper.h + vmove usr/include/libdevmapper-event.h + vmove usr/include/lvm2cmd.h + } +} + +device-mapper_package() { + short_desc="Device Mapper userspace library and tools" + replaces="lvm2<2.02.95_3" + pkg_install() { + vmove "usr/sbin/dm*" + vmove "usr/lib/libdevmapper*.so*" + vmove "usr/lib/liblvm2cmd.so*" + vmove "usr/share/man/man8/dm*" + vmove usr/lib/device-mapper usr/lib + for f in 10-dm 13-dm-disk 95-dm-notify; do + vmove usr/lib/udev/rules.d/${f}.rules + one + install -d ${PKGDESTDIR}usr/lib/systemd/system/sockets.target.wants + vinstall ${FILESDIR}/dmeventd.service 644 usr/lib/systemd/system + vinstall ${FILESDIR}/dmeventd.socket 644 usr/lib/systemd/system + ln -sf /usr/lib/systemd/system/dmeventd.socket \ + ${PKGDESTDIR}/usr/lib/systemd/system/sockets.target.wants/dmeventd.socket + } +} + +liblvm2app-devel_package() { + depends="device-mapper-devel-${version}_${revision} + liblvm2app-${version}_${revision}" + short_desc="LVM2 application library - development files" + pkg_install() { + vmove usr/include/lvm2app.h + vmove "usr/lib/pkgconfig/lvm2app*" + } +} + +liblvm2app_package() { + short_desc="LVM2 application library" + pkg_install() { + vmove "usr/lib/liblvm2app.so*" + } +} + +lvm2_package() { + make_dirs=" + /etc/lvm/archive 0755 root root + /etc/lvm/backup 0755 root root" + conf_files="/etc/lvm/lvm.conf" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/lxappearance/template b/srcpkgs/lxappearance/template index 871f0458fd..c438cc98a4 100644 --- a/srcpkgs/lxappearance/template +++ b/srcpkgs/lxappearance/template @@ -1,19 +1,23 @@ # Template file for 'lxappearance' pkgname=lxappearance version=0.5.1 -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" -build_style=gnu-configure revision=2 -makedepends="pkg-config intltool gtk+-devel" -fulldepends="desktop-file-utils" +build_style=gnu-configure +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel desktop-file-utils" short_desc="LXDE Theme Switcher" homepage="http://lxde.org/" license="GPL2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=74e638257092201a572f1fcd4eb93c195c9fa75e27602662de542b002e6deade long_desc=" LXAppearance is the standard theme switcher of LXDE. Users are able to change the theme, icons, and fonts used by applications easily." - - +lxappearance_package() { + depends="desktop-file-utils" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxc/liblxc.template b/srcpkgs/lxc/liblxc.template deleted file mode 100644 index d5d1cb431d..0000000000 --- a/srcpkgs/lxc/liblxc.template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'liblxc'. -# -short_desc="${short_desc} - shared library" -long_desc="${long_desc} - - This package contains the shared library for use in applications." - -do_install() { - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/lxc/lxc-devel.template b/srcpkgs/lxc/lxc-devel.template deleted file mode 100644 index 633cc6c43c..0000000000 --- a/srcpkgs/lxc/lxc-devel.template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'lxc-devel'. -# -noarch=yes -depends="libcap-devel liblxc-${version}_${revision}" -short_desc="${short_desc} - 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/lxc/template b/srcpkgs/lxc/template index 38be606777..324033e4b4 100644 --- a/srcpkgs/lxc/template +++ b/srcpkgs/lxc/template @@ -1,10 +1,9 @@ # Template file for 'lxc' pkgname=lxc version=0.8.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-apparmor" -subpackages="liblxc lxc-devel" makedepends="libcap-devel" short_desc="LinuX Containers" maintainer="Juan RP " @@ -20,3 +19,25 @@ long_desc=" The linux containers, lxc, aims to use these new functionalities to provide an userspace container object which provides full resource isolation and resource control for an application or a system." + +liblxc_package() { + short_desc="${short_desc} - shared library" + pkg_install() { + vmove "usr/lib/*.so*" + } +} + +lxc-devel_package() { + depends="libcap-devel liblxc-${version}_${revision}" + short_desc="${short_desc} - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} + +lxc_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxde-common/template b/srcpkgs/lxde-common/template index 9494d55917..7f58a3df4f 100644 --- a/srcpkgs/lxde-common/template +++ b/srcpkgs/lxde-common/template @@ -1,13 +1,13 @@ # Template file for 'lxde-common' pkgname=lxde-common version=0.5.5 -homepage="http://lxde.org" -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" -build_style=gnu-configure revision=1 +build_style=gnu-configure short_desc="LXDE configuration data" license="GPL-2" maintainer="Juan RP " +homepage="http://lxde.org" +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=ee18a09b64a442b33c1b54f0269649a1b4d9490460c400a07ed785d41bf6dde6 long_desc=" LXDE (the Lightweight X11 Desktop Environment) is a project aimed to @@ -28,8 +28,14 @@ Features: - Desktop independent (suprise! Every component can be used without LXDE) - Standard compliant, follows the specs on freedesktop.org" -noarch=yes -conf_files=" -/etc/xdg/pcmanfm/LXDE/pcmanfm.conf -/etc/xdg/lxsession/LXDE/config -/etc/xdg/lxsession/LXDE/autostart" +lxde-common_package() { + conf_files=" + /etc/xdg/pcmanfm/LXDE/pcmanfm.conf + /etc/xdg/lxsession/LXDE/config + /etc/xdg/lxsession/LXDE/autostart" + noarch="yes" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/lxde-icon-theme/template b/srcpkgs/lxde-icon-theme/template index 78c3d76149..909d6900cc 100644 --- a/srcpkgs/lxde-icon-theme/template +++ b/srcpkgs/lxde-icon-theme/template @@ -1,20 +1,24 @@ # Template file for 'lxde-icon-theme' pkgname=lxde-icon-theme version=0.0.1 -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.bz2" -build_style=gnu-configure -depends="gtk+" -makedepends="pkg-config gtk+-devel" revision=2 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="gtk+-devel" short_desc="LXDE Standard icon theme" homepage="http://lxde.org/" license="GPL2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.bz2" checksum=a75c0412033a0a0bf6b3912bb37409fbdae1b9a574f2821929aca8749e7ff3a3 long_desc=" This package contains lxde-icon-theme which is the default icon theme for LXDE, also known as nuoveXT2 icon theme." -noarch=yes - - +lxde-icon-theme_package() { + noarch="yes" + depends="gtk+" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxde/template b/srcpkgs/lxde/template index 53a3ac90e4..155c9fe63f 100644 --- a/srcpkgs/lxde/template +++ b/srcpkgs/lxde/template @@ -3,7 +3,8 @@ pkgname=lxde version=0.5.0 revision=4 build_style=meta-template -fulldepends="openbox pcmanfm lxde-icon-theme lxde-common lxappearance lxsession lxterminal lxlauncher lxinput lxrandr lxpanel lxtask gpicview xdg-utils xdg-user-dirs" +makedepends="openbox pcmanfm lxde-icon-theme lxde-common lxappearance lxsession + lxterminal lxlauncher lxinput lxrandr lxpanel lxtask gpicview xdg-utils xdg-user-dirs" short_desc="LXDE meta-package" homepage="http://lxde.org" license="GPL-2" @@ -11,5 +12,7 @@ maintainer="Juan RP " long_desc=" This package installs all required packages for the LXDE desktop system." -noarch=yes - +lxde_package() { + depends="${makedepends}" + noarch="yes" +} diff --git a/srcpkgs/lxdm/template b/srcpkgs/lxdm/template index 68b71f7456..e1c6240fce 100644 --- a/srcpkgs/lxdm/template +++ b/srcpkgs/lxdm/template @@ -1,15 +1,11 @@ # Template file for 'lxdm' pkgname=lxdm version=0.4.1 -revision=5 +revision=6 build_style=gnu-configure configure_args="-with-xconn=xcb" -makedepends="pkg-config intltool gtk+-devel ConsoleKit-devel" -fulldepends="iso-codes" -provides="display-manager-0" -replaces="display-manager>=0" -system_groups="lxdm" -systemd_services="lxdm.service off" +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel iso-codes" short_desc="GUI login manager for LXDE" maintainer="Juan RP " license="GPL-3" @@ -19,17 +15,6 @@ checksum=9e0d0a5672fcf31a18de8178ce73eab1723d6ae7097dfe41e9fe2c46e180cf08 long_desc=" A lightweight dropped-in replacement for GDM or KDM." -conf_files=" -/etc/lxdm/LoginReady -/etc/lxdm/PostLogin -/etc/lxdm/PostLogout -/etc/lxdm/PreLogin -/etc/lxdm/PreReboot -/etc/lxdm/PreShutdown -/etc/lxdm/Xsession -/etc/lxdm/lxdm.conf -/etc/pam.d/lxdm" - post_install() { # Remove useless script. rm -f ${DESTDIR}/usr/sbin/lxdm @@ -39,3 +24,23 @@ post_install() { # Install systemd service. vinstall ${FILESDIR}/lxdm.service 644 usr/lib/systemd/system } + +lxdm_package() { + depends="shadow" + conf_files=" + /etc/lxdm/LoginReady + /etc/lxdm/PostLogin + /etc/lxdm/PostLogout + /etc/lxdm/PreLogin + /etc/lxdm/PreReboot + /etc/lxdm/PreShutdown + /etc/lxdm/Xsession + /etc/lxdm/lxdm.conf + /etc/pam.d/lxdm" + system_groups="lxdm" + systemd_services="lxdm.service off" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/lxinput/template b/srcpkgs/lxinput/template index 96734f0b95..5334f26e09 100644 --- a/srcpkgs/lxinput/template +++ b/srcpkgs/lxinput/template @@ -3,8 +3,8 @@ pkgname=lxinput version=0.3.2 revision=2 build_style=gnu-configure -makedepends="pkg-config intltool gtk+-devel" -depends="desktop-file-utils" +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel desktop-file-utils" short_desc="LXDE Keyboad/Mouse configurator" homepage="http://lxde.org/" license="GPL2" @@ -19,3 +19,10 @@ long_desc=" * Enable/Disable beeps of keyboard input error * Swap left and right mouse buttons * Mouse acceleration and sensitivity" + +lxinput_package() { + depends="desktop-file-utils" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxlauncher/template b/srcpkgs/lxlauncher/template index 39dc3dc506..f9d5c4c09c 100644 --- a/srcpkgs/lxlauncher/template +++ b/srcpkgs/lxlauncher/template @@ -1,23 +1,28 @@ # Template file for 'lxlauncher' pkgname=lxlauncher version=0.2.2 -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" -build_style=gnu-configure revision=2 -makedepends="pkg-config intltool gtk+-devel startup-notification-devel menu-cache-devel" +build_style=gnu-configure +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel startup-notification-devel menu-cache-devel" short_desc="LXDE ASUS EEPC launcher" homepage="http://lxde.org/" license="GPL2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=ad586e3a2668f98bbf0217ec1be1f8f1be4ff876b180a407c7db2fe354303cbc long_desc=" The LXLauncher is the optional launcher for application programs developed for the 7-10.2 screens. LXLauncher enables the LXDE desktop to be a topic oriented groupping specific application programs to one view under tabs." -conf_files=" -/etc/xdg/lxlauncher/gtkrc -/etc/xdg/lxlauncher/settings.conf -/etc/xdg/menus/lxlauncher-applications.menu" - - +lxlauncher_package() { + conf_files=" + /etc/xdg/lxlauncher/gtkrc + /etc/xdg/lxlauncher/settings.conf + /etc/xdg/menus/lxlauncher-applications.menu" + pkg_install() { + vmove etc + vmove usr + } +} diff --git a/srcpkgs/lxmenu-data/template b/srcpkgs/lxmenu-data/template index 36e9b47b25..237d2fa26d 100644 --- a/srcpkgs/lxmenu-data/template +++ b/srcpkgs/lxmenu-data/template @@ -1,17 +1,22 @@ # Template file for 'lxmenu-data' pkgname=lxmenu-data version=0.1.2 -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" -build_style=gnu-configure -makedepends="pkg-config intltool" revision=2 +build_style=gnu-configure +hostmakedepends="pkg-config intltool" short_desc="LXDE freedesktop menu required files" homepage="http://lxde.org/" license="GPL2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=34c285a0430404e815263a4bb33a79eb47b168c56469be0f7ffb19730a57a045 long_desc=" This package provides files required to build freedesktop.org menu spec-compliant desktop menus for LXDE." -noarch=yes +lxmenu-data_package() { + noarch="yes" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxpanel/lxpanel-devel.template b/srcpkgs/lxpanel/lxpanel-devel.template deleted file mode 100644 index e8932f27e8..0000000000 --- a/srcpkgs/lxpanel/lxpanel-devel.template +++ /dev/null @@ -1,15 +0,0 @@ -# Template file for 'lxpanel-devel'. -# -depends="pkg-config alsa-lib-devel gtk+-devel menu-cache-devel lxpanel>=0.5.9" -short_desc="${sourcepkg} development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - - -noarch=yes - -do_install() { - vmove usr/include usr - vmove usr/lib/pkgconfig usr/lib -} diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template index 5b00ebd754..8612918776 100644 --- a/srcpkgs/lxpanel/template +++ b/srcpkgs/lxpanel/template @@ -1,15 +1,16 @@ # Template file for 'lxpanel' pkgname=lxpanel version=0.5.9 -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" +revision=4 build_style=gnu-configure -makedepends="pkg-config intltool alsa-lib-devel gtk+-devel menu-cache-devel libwnck2-devel wireless_tools-devel" -fulldepends="lxmenu-data>=0.1.2" -revision=3 +hostmakedepends="pkg-config intltool" +makedepends="alsa-lib-devel gtk+-devel menu-cache-devel libwnck2-devel + wireless_tools-devel lxmenu-data>=0.1.2" short_desc="LXDE Standard panel" homepage="http://lxde.org/" license="GPL2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=2bde7d68b5a7136b205fcd497f70a67a0610fe04785d4469b3a0f9c7f30b729e long_desc=" The LXPanel, is the standard panel of LXDE. The desktop panel can generate @@ -18,6 +19,19 @@ long_desc=" files. The component provides a Run dialog with autocompletion." CFLAGS="-lgmodule-2.0" -subpackages="lxpanel-devel" +lxpanel-devel_package() { + depends="menu-cache-devel lxpanel>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} +lxpanel_package() { + depends="lxmenu-data>=0.1.2" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxpolkit/template b/srcpkgs/lxpolkit/template index f974ad5296..1fb024f104 100644 --- a/srcpkgs/lxpolkit/template +++ b/srcpkgs/lxpolkit/template @@ -1,15 +1,21 @@ # Template file for 'lxpolkit' pkgname=lxpolkit version=0.1.0 -homepage="http://lxde.org" -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" -build_style=gnu-configure revision=2 -makedepends="pkg-config intltool gtk+-devel polkit-devel" +build_style=gnu-configure +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel polkit-devel" short_desc="LXDE PolicyKit integration" maintainer="Juan RP " license="GPL-3" +homepage="http://lxde.org" +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=511affca8f55adc67031fb3627b9889064c685e4b983737d8deecdf4f94f008b long_desc=" LXPolkit is a simple PolicyKit authentication agent." +lxpolkit_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxrandr/template b/srcpkgs/lxrandr/template index 0d03bd20da..8f66a0e850 100644 --- a/srcpkgs/lxrandr/template +++ b/srcpkgs/lxrandr/template @@ -1,16 +1,15 @@ # Template file for 'lxrandr' pkgname=lxrandr version=0.1.2 -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" build_style=gnu-configure revision=2 -depends="atk cairo fontconfig freetype pango" -makedepends="pkg-config intltool gtk+-devel" -fulldepends="desktop-file-utils" +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel desktop-file-utils" short_desc="LXDE Monitor configuration tool" homepage="http://lxde.org/" license="GPL2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=fb8139478f6cfeac6a2d8adb4e55e8cad099bfe2da7c82253c935ba719f9cf19 long_desc=" This is a very basic monitor config tool utilizing the X extension called @@ -24,5 +23,9 @@ long_desc=" monitor and just want to get their work done without reading a lot of geek-centered manuals or command line tutorials." - - +lxrandr_package() { + depends="desktop-file-utils" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template index f40f22f862..5e9ea1635c 100644 --- a/srcpkgs/lxsession/template +++ b/srcpkgs/lxsession/template @@ -1,15 +1,15 @@ # Template file for 'lxsession' pkgname=lxsession version=0.4.6.1 -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" -build_style=gnu-configure revision=3 -makedepends="pkg-config intltool dbus-devel gtk+-devel" -fulldepends="dbus-x11 upower ConsoleKit-x11 hicolor-icon-theme" +build_style=gnu-configure +hostmakedepends="pkg-config intltool" +makedepends="dbus-devel gtk+-devel upower hicolor-icon-theme" short_desc="LXDE X11 Session Manager" homepage="http://lxde.org/" license="GPL2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=bd6a7ef3c0ba4b9eedf3c58624dbce8bbbba3b179abbc552bf10c2830eec3ee1 long_desc=" LXSession is a lightweight X11 session manager with fewer dependencies, @@ -26,4 +26,9 @@ long_desc=" LXSession has also a built-in lightweight Xsettings daemon, which can configure GTK+ themes, keyboard, and mouse for you on session startup." - +lxsession_package() { + depends="upower hicolor-icon-theme" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxtask/template b/srcpkgs/lxtask/template index c5b83b7b45..a4431eba13 100644 --- a/srcpkgs/lxtask/template +++ b/srcpkgs/lxtask/template @@ -1,19 +1,24 @@ # Template file for 'lxtask' pkgname=lxtask version=0.1.4 -homepage="http://lxde.org/" -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" -build_style=gnu-configure -makedepends="pkg-config intltool gtk+-devel" -fulldepends="desktop-file-utils" revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel desktop-file-utils" short_desc="LXDE Task Manager" maintainer="Juan RP " license="GPL-2" +homepage="http://lxde.org/" +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=39110c99e9e56101e25be35628abafd81b1e3ea47e2d8bea45b2cb12c1e3cd61 long_desc=" LXTask - lightweight and desktop-independent task manager derived from xfce4-taskmanager with all dependencies on xfce removed, new features, and some improvement of the user interface." - +lxtask_package() { + depends="desktop-file-utils" + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lxterminal/template b/srcpkgs/lxterminal/template index 435701c3c6..bd5677c78d 100644 --- a/srcpkgs/lxterminal/template +++ b/srcpkgs/lxterminal/template @@ -1,15 +1,16 @@ # Template file for 'lxterminal' pkgname=lxterminal version=0.1.11 -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" -build_style=gnu-configure revision=2 -makedepends="pkg-config intltool gtk+-devel vte-devel" +build_style=gnu-configure +hostmakedepends="pkg-config intltool" +makedepends="gtk+-devel vte-devel" fulldepends="desktop-file-utils" short_desc="LXDE Terminal emulator" homepage="http://lxde.org/" license="GPL2" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=f495166b308a96e8c30c8892b33ab163f3865253a9bbd4bdac462f974fda7253 long_desc=" LXterminal is a VTE-based terminal emulator from LXDE project which @@ -19,5 +20,8 @@ long_desc=" In order to reduce memory usage and increase the performance, all instances of the terminal are sharing a single process." - - +lxterminal_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/lzo/lzo-devel.template b/srcpkgs/lzo/lzo-devel.template deleted file mode 100644 index ba6bb80d48..0000000000 --- a/srcpkgs/lzo/lzo-devel.template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'libgrypt-devel'. -# -depends="glibc-devel lzo" -short_desc="${short_desc} (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/*.*a ${DESTDIR}/usr/lib -} diff --git a/srcpkgs/lzo/template b/srcpkgs/lzo/template index d578602cf6..dd06d67b1b 100644 --- a/srcpkgs/lzo/template +++ b/srcpkgs/lzo/template @@ -1,14 +1,14 @@ # Template build file for 'lzo'. pkgname=lzo version=2.06 -distfiles="http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz" +revision=3 build_style=gnu-configure configure_args="--enable-shared=yes" -revision=2 short_desc="Portable lossless data compression library" maintainer="Juan RP " homepage="http://www.oberhumer.com/opensource/lzo" license="GPL-2" +distfiles="http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz" checksum=ff79e6f836d62d3f86ef6ce893ed65d07e638ef4d3cb952963471b4234d43e73 long_desc=" LZO is a portable lossless data compression library written in ANSI @@ -19,4 +19,17 @@ long_desc=" competitive compression ratio while still decompressing at this very high speed." -subpackages="$pkgname-devel" +lzo-devel_package() { + depends="lzo>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + +lzo_package() { + pkg_install() { + vmove usr + } +}