curl, libidn: converted to subpkgs.
--HG-- extra : convert_revision : 1041370558329cd01bdfaf6258eace73ae42a9cc
This commit is contained in:
parent
072ad1c9a0
commit
4d29f69f32
10 changed files with 93 additions and 4 deletions
1
templates/curl-devel
Symbolic link
1
templates/curl-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
curl
|
1
templates/curl-libs
Symbolic link
1
templates/curl-libs
Symbolic link
|
@ -0,0 +1 @@
|
|||
curl
|
2
templates/curl/depends
Normal file
2
templates/curl/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=7.19
|
||||
api_depends=${abi_depends}
|
27
templates/curl/devel.template
Normal file
27
templates/curl/devel.template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'curl-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run curl-libs
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/bin
|
||||
mkdir -p ${destdir}/usr/lib
|
||||
mkdir -p ${destdir}/usr/share/man/man1
|
||||
|
||||
mv ${origdir}/usr/bin/curl-config ${destdir}/usr/bin
|
||||
mv ${origdir}/usr/include ${destdir}/usr
|
||||
mv ${origdir}/usr/lib/*.*a ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/*.so ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/pkgconfig ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/share/man/man1/curl-config* \
|
||||
${destdir}/usr/share/man/man1
|
||||
mv ${origdir}/usr/share/man/man3 ${destdir}/usr/share/man
|
||||
}
|
20
templates/curl/libs.template
Normal file
20
templates/curl/libs.template
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'curl-libs'.
|
||||
#
|
||||
short_desc="${short_desc} (shared libraries)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the shared libraries."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libidn
|
||||
Add_dependency run zlib
|
||||
Add_dependency run openssl
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/lib*.so.* ${destdir}/usr/lib
|
||||
}
|
|
@ -1,4 +1,6 @@
|
|||
# Template build file for 'curl'.
|
||||
pkgname=curl
|
||||
sourcepkg=curl
|
||||
version=7.19.0
|
||||
distfiles="http://curl.haxx.se/download/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
|
@ -13,5 +15,10 @@ long_desc="
|
|||
kerberos...), file transfer resume, proxy tunneling and a busload of other
|
||||
useful tricks."
|
||||
|
||||
build_depends="libidn-1.9 zlib-1.2.3 openssl-0.9.8i"
|
||||
run_depends="glibc-2.8 $build_depends"
|
||||
subpackages="devel libs"
|
||||
|
||||
Add_dependency full glibc
|
||||
Add_dependency full libidn
|
||||
Add_dependency full zlib
|
||||
Add_dependency full openssl
|
||||
Add_dependency run curl-libs
|
||||
|
|
1
templates/libidn-devel
Symbolic link
1
templates/libidn-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libidn
|
2
templates/libidn/depends
Normal file
2
templates/libidn/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=1.10
|
||||
api_depends=${abi_depends}
|
23
templates/libidn/devel.template
Normal file
23
templates/libidn/devel.template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'libidn-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libidn
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/lib
|
||||
mkdir -p ${destdir}/usr/share/man
|
||||
|
||||
mv ${origdir}/usr/include ${destdir}/usr
|
||||
mv ${origdir}/usr/lib/*.*a ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/*.so ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/pkgconfig ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/share/man/man3 ${destdir}/usr/share/man
|
||||
}
|
|
@ -1,4 +1,6 @@
|
|||
# Template build file for 'libidn'.
|
||||
pkgname=libidn
|
||||
sourcepkg=libidn
|
||||
version=1.10
|
||||
distfiles="http://ftp.gnu.org/gnu/libidn/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
|
@ -20,5 +22,8 @@ long_desc="
|
|||
SASL, and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
|
||||
IDNA are supported."
|
||||
|
||||
build_depends="perl-5.10.0 pkg-config-0.23"
|
||||
run_depends="glibc-2.8"
|
||||
subpackages="devel"
|
||||
|
||||
Add_dependency full glibc
|
||||
Add_dependency build perl
|
||||
Add_dependency build pkg-config
|
||||
|
|
Loading…
Reference in a new issue