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:
Juan RP
2009-11-22 08:31:44 +01:00
parent 3c58e3ad40
commit 85cc462e1d
1305 changed files with 719 additions and 654 deletions

2
srcpkgs/libuuid/depends Normal file
View File

@@ -0,0 +1,2 @@
abi_depends=">=1.41.5"
api_depends="${abi_depends}"

View File

@@ -0,0 +1,14 @@
# Template file for 'libuuid-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libuuid
do_install()
{
mkdir -p ${DESTDIR}
mv ${SRCPKGDESTDIR}/usr ${DESTDIR}
}

View File

@@ -0,0 +1,13 @@
--- Makefile.in.orig 2009-08-12 11:15:33.768923564 +0200
+++ Makefile.in 2009-08-12 11:16:29.184473940 +0200
@@ -288,9 +288,7 @@ ul_libblkid_la = $(top_builddir)/shlibs/
ul_libuuid_srcdir = $(top_srcdir)/shlibs/uuid/src
ul_libuuid_builddir = $(top_builddir)/shlibs/uuid/src
ul_libuuid_la = $(top_builddir)/shlibs/uuid/src/libuuid.la
-SUBDIRS = include disk-utils fdisk getopt lib shlibs login-utils \
- misc-utils po schedutils sys-utils text-utils tests \
- $(am__append_1) $(am__append_2) $(am__append_3)
+SUBDIRS = shlibs
RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \
-name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o

18
srcpkgs/libuuid/template Normal file
View File

@@ -0,0 +1,18 @@
# Template file for 'libuuid'
pkgname=libuuid
version=2.16.1
_utilng=util-linux-ng
wrksrc=${_utilng}-${version}
distfiles="${KERNEL_SITE}/utils/${_utilng}/v2.16/${_utilng}-${version}.tar.bz2"
build_style=gnu_configure
configure_args="--disable-mount --disable-fsck --enable-libuuid
--disable-libblkid"
short_desc="UUID library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8f9fd83144f35dbd57d53eea914acd6dfad54b414ded0723f6efe06b3a167f36
long_desc="
libuuid generates and parses 128-bit universally unique id's (UUIDs).
See RFC 4122 for more information,"
subpackages="$pkgname-devel"
Add_dependency full glibc