libXrender: converted to subpkgs, new deps style.
--HG-- extra : convert_revision : c79828bc287140922c3677bad9898c9f590732ed
This commit is contained in:
parent
127b8e0ec6
commit
8e3347b7ad
4 changed files with 27 additions and 3 deletions
1
templates/libXrender-devel
Symbolic link
1
templates/libXrender-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libXrender
|
2
templates/libXrender/depends
Normal file
2
templates/libXrender/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=0.9.4
|
||||
api_depends=${abi_depends}
|
17
templates/libXrender/devel.template
Normal file
17
templates/libXrender/devel.template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'libXrender-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libXrender
|
||||
|
||||
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
|
||||
}
|
|
@ -1,4 +1,6 @@
|
|||
# Template build file for 'libXrender'.
|
||||
pkgname=libXrender
|
||||
sourcepkg=$pkgname
|
||||
version=0.9.4
|
||||
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
|
@ -17,6 +19,8 @@ long_desc="
|
|||
|
||||
This is the modular X.org X11 project version."
|
||||
|
||||
shared_deps="libX11-1.1"
|
||||
build_depends="pkg-config-0.23 renderproto-0.9 ${shared_deps}"
|
||||
run_depends="glibc-2.8 ${shared_deps}"
|
||||
subpackages="devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build renderproto
|
||||
Add_dependency full glibc
|
||||
Add_dependency full libX11
|
||||
|
|
Loading…
Reference in a new issue