Update packages for xbps-src>=53: use configure_args, get rid of CONFIGURE_SHARED_ARGS.
This commit is contained in:
parent
633f5d2fbb
commit
3d8593b009
52 changed files with 214 additions and 230 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'lockdev'
|
||||
pkgname=lockdev
|
||||
version=1.0.3
|
||||
revision=1
|
||||
revision=2
|
||||
short_desc="Run-time shared library for locking devices"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://packages.qa.debian.org/l/lockdev.html"
|
||||
|
@ -13,8 +13,8 @@ long_desc="
|
|||
_both_ FSSTND and SVr4 methods."
|
||||
|
||||
do_build() {
|
||||
make CC="$CC" shared CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
|
||||
make CC="$CC" static CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
|
||||
make ${make_build_args} shared CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
|
||||
make ${make_build_args} static CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
@ -27,7 +27,7 @@ do_install() {
|
|||
|
||||
lockdev-devel_package() {
|
||||
depends="lockdev>=$version"
|
||||
short_desc="${short_desc} -- development files"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue