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:
24
srcpkgs/curl/curl-devel.template
Normal file
24
srcpkgs/curl/curl-devel.template
Normal file
@@ -0,0 +1,24 @@
|
||||
# Template file for 'curl-devel'.
|
||||
#
|
||||
short_desc="curl development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run curl-libs
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/bin
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mkdir -p ${DESTDIR}/usr/share/man/man1
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/curl-config ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/curl-config* \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
||||
}
|
||||
17
srcpkgs/curl/curl-libs.template
Normal file
17
srcpkgs/curl/curl-libs.template
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so.* ${DESTDIR}/usr/lib
|
||||
}
|
||||
2
srcpkgs/curl/depends
Normal file
2
srcpkgs/curl/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=7.19"
|
||||
api_depends="${abi_depends}"
|
||||
22
srcpkgs/curl/template
Normal file
22
srcpkgs/curl/template
Normal file
@@ -0,0 +1,22 @@
|
||||
# Template build file for 'curl'.
|
||||
pkgname=curl
|
||||
version=7.19.7
|
||||
distfiles="http://curl.haxx.se/download/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
short_desc="Client that groks URLs"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=1a15f94ae3401e3bd6208ce64155c2577815019824bceae7fd3221a12bc54a70
|
||||
long_desc="
|
||||
Curl is a command line tool for transferring files with URL syntax, supporting
|
||||
FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. Curl supports
|
||||
HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload,
|
||||
proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate,
|
||||
kerberos...), file transfer resume, proxy tunneling and a busload of other
|
||||
useful tricks."
|
||||
|
||||
subpackages="$pkgname-devel $pkgname-libs"
|
||||
Add_dependency full glibc
|
||||
Add_dependency full libidn
|
||||
Add_dependency full zlib
|
||||
Add_dependency full openssl
|
||||
Add_dependency run curl-libs
|
||||
Reference in New Issue
Block a user