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/xcb-util/depends
Normal file
2
srcpkgs/xcb-util/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=0.3.4"
|
||||
api_depends="${abi_depends}"
|
||||
33
srcpkgs/xcb-util/template
Normal file
33
srcpkgs/xcb-util/template
Normal file
@@ -0,0 +1,33 @@
|
||||
# Template build for 'xcb-util'.
|
||||
pkgname=xcb-util
|
||||
version=0.3.4
|
||||
distfiles="http://xcb.freedesktop.org/dist/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
short_desc="XCB utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=eeb723e9be5fa1e6d9c5cf223731d43a9589b4d727b11c2d310bd6157f408d26
|
||||
long_desc="
|
||||
The xcb-util module provides a number of libraries which sit on top of
|
||||
libxcb, the core X protocol library, and some of the extension
|
||||
libraries. These experimental libraries provide convenience functions
|
||||
and interfaces which make the raw X protocol more usable. Some of the
|
||||
libraries also provide client-side code which is not strictly part of
|
||||
the X protocol but which have traditionally been provided by Xlib.
|
||||
|
||||
These libraries are currently included, roughly ordered by maturity:
|
||||
|
||||
render-util: Convenience functions for the Render extension.
|
||||
aux: Convenient access to connection setup and some core requests.
|
||||
atom: Standard core X atom constants and atom caching.
|
||||
property: Callback X property-change handling.
|
||||
icccm: Both client and window-manager helpers for ICCCM.
|
||||
keysyms: Standard X key constants and conversion to/from keycodes.
|
||||
event: Callback X event handling.
|
||||
image: Port of Xlib's XImage and XShmImage functions.
|
||||
wm: Framework for window manager implementation."
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build gperf
|
||||
Add_dependency full glibc
|
||||
Add_dependency full libxcb
|
||||
17
srcpkgs/xcb-util/xcb-util-devel.template
Normal file
17
srcpkgs/xcb-util/xcb-util-devel.template
Normal file
@@ -0,0 +1,17 @@
|
||||
# Template file for 'xcb-util-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run xcb-util
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user