Convert another set of package to the new template format.
This commit is contained in:
@@ -3,10 +3,33 @@ pkgname=expat
|
||||
version=2.1.0
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
subpackages="xmlwf expat-devel"
|
||||
short_desc="XML parser library written in C"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="http://expat.sourceforge.net/"
|
||||
distfiles="$SOURCEFORGE_SITE/expat/$pkgname-$version.tar.gz"
|
||||
checksum=823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
|
||||
|
||||
expat-devel_package() {
|
||||
depends="expat>=${version}"
|
||||
short_desc="${short_desc} -- development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
||||
expat_package() {
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so*"
|
||||
}
|
||||
}
|
||||
|
||||
xmlwf_package() {
|
||||
short_desc="${short_desc} -- xmlwf utility"
|
||||
pkg_install() {
|
||||
vmove usr/bin
|
||||
vmove usr/share
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user