Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
example udev now has a subpkgs called "libgudev". Previously
subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.
And more that I forgot because it's a mega-commit that I've been
working for some days already...
--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
This commit is contained in:
2
srcpkgs/libsoup/depends
Normal file
2
srcpkgs/libsoup/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=2.27.5"
|
||||
api_depends="${abi_depends}"
|
||||
18
srcpkgs/libsoup/libsoup-devel.template
Normal file
18
srcpkgs/libsoup/libsoup-devel.template
Normal file
@@ -0,0 +1,18 @@
|
||||
# Template file for 'libsoup-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libsoup
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
|
||||
}
|
||||
38
srcpkgs/libsoup/template
Normal file
38
srcpkgs/libsoup/template
Normal file
@@ -0,0 +1,38 @@
|
||||
# Template file for 'libsoup'
|
||||
pkgname=libsoup
|
||||
version=2.28.0
|
||||
distfiles="${GNOME_SITE}/$pkgname/2.28/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--without-gnome"
|
||||
short_desc="HTTP library implementation in C"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=647217d395d560375551056e291d697543d424eb6363e101c334a01a0b8c6fb6
|
||||
long_desc="
|
||||
Libsoup is an HTTP library implementation in C. It was originally part
|
||||
of a SOAP (Simple Object Access Protocol) implementation called Soup, but
|
||||
the SOAP and non-SOAP parts have now been split into separate packages.
|
||||
|
||||
libsoup uses the Glib main loop and is designed to work well with GTK
|
||||
applications. This enables GNOME applications to access HTTP servers
|
||||
on the network in a completely asynchronous fashion, very similar to
|
||||
the Gtk+ programming model (a synchronous operation mode is also
|
||||
supported for those who want it).
|
||||
|
||||
Features:
|
||||
* Completely Asynchronous
|
||||
* Connection cache
|
||||
* HTTP chunked transfer support
|
||||
* HTTP, SOCKS4, and SOCKS5 authenticated proxy support
|
||||
* SSL Support using OpenSSL or GnuTLS
|
||||
* Client support for Digest, NTLM, and Basic authentication
|
||||
* HTTP server
|
||||
* Server support for Digest and Basic authentication"
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency full glibc
|
||||
Add_dependency full libxml2
|
||||
Add_dependency full libproxy
|
||||
Add_dependency full gnutls
|
||||
Add_dependency full sqlite
|
||||
Add_dependency full GConf
|
||||
Reference in New Issue
Block a user