libXpm: converted to subpkgs, new deps style.
--HG-- extra : convert_revision : 00ff2772e3d922536170d567295f9cb53fba82e9
This commit is contained in:
parent
31f527bcbc
commit
5ee37b4906
4 changed files with 28 additions and 4 deletions
1
templates/libXpm-devel
Symbolic link
1
templates/libXpm-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libXpm
|
2
templates/libXpm/depends
Normal file
2
templates/libXpm/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=3.5.7
|
||||
api_depends=${abi_depends}
|
17
templates/libXpm/devel.template
Normal file
17
templates/libXpm/devel.template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'libXpm-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libXpm
|
||||
|
||||
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 'libXpm'.
|
||||
pkgname=libXpm
|
||||
sourcepkg=$pkgname
|
||||
version=3.5.7
|
||||
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
|
@ -11,7 +13,9 @@ long_desc="
|
|||
|
||||
This libXpm is from the modular Xorg X11."
|
||||
|
||||
shared_deps="libX11-1.1"
|
||||
build_depends="pkg-config-0.23 gettext-0.17 xproto-7.0 gettext-0.17
|
||||
${shared_deps}"
|
||||
run_depends="glibc-2.8 ${shared_deps}"
|
||||
subpackages="devel"
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build gettext
|
||||
Add_dependency build xproto
|
||||
Add_dependency full glibc
|
||||
Add_dependency full libX11
|
||||
|
|
Loading…
Reference in a new issue