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/libtasn1/depends
Normal file
2
srcpkgs/libtasn1/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=2.1"
|
||||
api_depends="${abi_depends}"
|
||||
19
srcpkgs/libtasn1/libtasn1-devel.template
Normal file
19
srcpkgs/libtasn1/libtasn1-devel.template
Normal file
@@ -0,0 +1,19 @@
|
||||
# Template file for 'libtasn1-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libtasn1
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
|
||||
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/man3 ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/share/info ${DESTDIR}/usr/share
|
||||
}
|
||||
15
srcpkgs/libtasn1/libtasn1-tools.template
Normal file
15
srcpkgs/libtasn1/libtasn1-tools.template
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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."
|
||||
|
||||
Add_dependency run libtasn1
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/share/man
|
||||
}
|
||||
23
srcpkgs/libtasn1/template
Normal file
23
srcpkgs/libtasn1/template
Normal file
@@ -0,0 +1,23 @@
|
||||
# Template build file for 'libtasn1'.
|
||||
pkgname=libtasn1
|
||||
version=2.1
|
||||
distfiles="ftp://ftp.gnutls.org/pub/gnutls/$pkgname/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
short_desc="ASN.1 structure parser library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=ef89d6ef509185f6f3b67140d58e5aa4494fa87118e0982dc2fddeb0d0204533
|
||||
long_desc="
|
||||
libtasn1 library was developed for ASN1 (Abstract Syntax Notation One)
|
||||
structures management.
|
||||
|
||||
The main features of this library are:
|
||||
- on-line ASN1 structure management that does not require any C
|
||||
code file generation.
|
||||
- off-line ASN1 structure management with C code file generation
|
||||
containing an array.
|
||||
- DER (Distinguish Encoding Rules) encoding.
|
||||
- no limits for INTEGER and ENUMERATED values."
|
||||
|
||||
subpackages="$pkgname-devel $pkgname-tools"
|
||||
Add_dependency full glibc
|
||||
Add_dependency build texinfo
|
||||
Reference in New Issue
Block a user