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:
16
srcpkgs/MesaLib/MesaLib-devel.template
Normal file
16
srcpkgs/MesaLib/MesaLib-devel.template
Normal file
@@ -0,0 +1,16 @@
|
||||
# Template file for 'MesaLib-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run MesaLib
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
}
|
||||
2
srcpkgs/MesaLib/depends
Normal file
2
srcpkgs/MesaLib/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=">=7.3"
|
||||
api_depends="${abi_depends}"
|
||||
35
srcpkgs/MesaLib/template
Normal file
35
srcpkgs/MesaLib/template
Normal file
@@ -0,0 +1,35 @@
|
||||
# Template build file for 'MesaLib'.
|
||||
pkgname=MesaLib
|
||||
version=7.6
|
||||
revision=1
|
||||
wrksrc="Mesa-$version"
|
||||
distfiles="ftp://ftp.freedesktop.org/pub/mesa/$version/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-glx-tls --enable-xcb"
|
||||
short_desc="Graphics library similar to SGI's OpenGL"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=782a7b2810b1c466b3a994eba96485b59b47cc1120c0caa24de1aecf1e013830
|
||||
long_desc="
|
||||
MesaLib is a 3-D graphics library with an API which is very similar to
|
||||
that of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax
|
||||
or state machine, it is being used with authorization from Silicon Graphics,
|
||||
Inc. However, the author makes no claim that Mesa is in any way a
|
||||
compatible replacement for OpenGL or associated with Silicon Graphics, Inc."
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build glproto
|
||||
Add_dependency build dri2proto ">=2.1"
|
||||
Add_dependency build makedepend
|
||||
Add_dependency full glibc
|
||||
Add_dependency full expat
|
||||
Add_dependency full libdrm ">=2.4.15"
|
||||
Add_dependency full libX11
|
||||
Add_dependency full libXext
|
||||
Add_dependency full libXt
|
||||
Add_dependency full libXmu
|
||||
Add_dependency full libXi
|
||||
Add_dependency full libXfixes
|
||||
Add_dependency full libXdamage
|
||||
Add_dependency full libXxf86vm
|
||||
Add_dependency run libstdc++
|
||||
Reference in New Issue
Block a user