Browse Source

skalibs: moved common skaware build configuration into skaware-conf.in

user/amery/next/uclibc
Christian Wiese 13 years ago
parent
commit
d3fabcbe8f
  1. 14
      develop/skalibs/skalibs.conf
  2. 2
      develop/skalibs/skalibs.desc
  3. 30
      develop/skalibs/skaware-conf.in

14
develop/skalibs/skalibs.conf

@ -20,17 +20,7 @@ fi
# skalibs is following slashpackage confentions
srcdir=prog/$pkg-$ver
# do not run the useless configure script dummy
runconf=0
skalibs_conf() {
# configure build environment
echo "$CC" > conf-compile/conf-cc
echo "$CC" > conf-compile/conf-ld
echo "$CC" > conf-compile/conf-dynld
echo "$STRIP -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-stripbins
echo "$STRIP -x -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-striplibs
# configure installation directories
echo "$root/$prefix" > conf-compile/conf-home
echo "$root$bindir" > conf-compile/conf-bin
@ -40,10 +30,6 @@ skalibs_conf() {
}
hook_add preconf 1 'skalibs_conf'
# do not run make install because we do not want slashpackage convention
# by default
makeinstopt=
skalibs_install() {
cp -avp library/* $root$libdir
cp -avp library.so/* $root$libdir

2
develop/skalibs/skalibs.desc

@ -30,4 +30,6 @@
[V] 1.2.3
[P] X -----5---9 800.000
[O] . $base/package/*/*/skaware-conf.in
[D] 1340015361 skalibs-1.2.3.tar.gz http://www.skarnet.org/software/skalibs/

30
develop/skalibs/skaware-conf.in

@ -0,0 +1,30 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../skalibs/skaware-conf.in
# Copyright (C) 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# do not run the useless configure script dummy
runconf=0
# do not run make install because we do not want slashpackage convention
# by default
makeinstopt=
skaware_conf() {
# configure build environment
echo "$CC" > conf-compile/conf-cc
echo "$CC" > conf-compile/conf-ld
echo "$CC" > conf-compile/conf-dynld
echo "$STRIP -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-stripbins
echo "$STRIP -x -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-striplibs
}
hook_add preconf 1 'skaware_conf'
Loading…
Cancel
Save