bglibs: split -devel package and change directory structure
This commit is contained in:
parent
0bbeb0f44f
commit
0d95d7ea6e
2 changed files with 14 additions and 4 deletions
1
srcpkgs/bglibs-devel
Symbolic link
1
srcpkgs/bglibs-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
bglibs
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue