Merge pull request #1284 from bougyman/master

bglibs: split -devel package and change directory structure
This commit is contained in:
bougyman 2015-04-09 07:54:34 -05:00
commit ecd1d2a247
2 changed files with 14 additions and 4 deletions

1
srcpkgs/bglibs-devel Symbolic link
View file

@ -0,0 +1 @@
bglibs

View file

@ -1,7 +1,7 @@
# Template file for 'bglibs'
pkgname=bglibs
version=2.03
revision=1
revision=2
nocross=yes
hostmakedepends="libtool perl"
short_desc="A collection of libraries by Bruce Guenter"
@ -17,17 +17,26 @@ pre_build() {
}
do_build() {
echo "/usr/lib/bglibs/include" > conf-include
echo "/usr/lib/bglibs/lib" > conf-lib
echo "/usr/include" > conf-include
echo "/usr/lib" > conf-lib
echo "/usr/bin" > conf-bin
echo "/usr/share/man" > conf-man
make
}
do_install() {
vmkdir usr/lib/bglibs
install_prefix="${DESTDIR}" make install
find "${DESTDIR}"/usr/lib -name "*.a" -exec chmod 0644 {} \;
vdoc README
vlicense COPYING
}
bglibs-devel_package() {
depends="bglibs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/bglibs
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}