wok rev 25574

asterisk: make install-headers inserted
author Hans-G?nter Theisgen
date Sat May 13 17:20:22 2023 +0100 (18 months ago)
parents 67d9840ef3ac
children 610b24fa3c65
files asterisk-dev/receipt asterisk/receipt
line diff
     1.1 --- a/asterisk-dev/receipt	Sat May 13 16:27:48 2023 +0100
     1.2 +++ b/asterisk-dev/receipt	Sat May 13 17:20:22 2023 +0100
     1.3 @@ -13,6 +13,6 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr
     1.8 +	mkdir	-p $fs/usr
     1.9  	cp -a	$install/usr/include	$fs/usr
    1.10  }
     2.1 --- a/asterisk/receipt	Sat May 13 16:27:48 2023 +0100
     2.2 +++ b/asterisk/receipt	Sat May 13 17:20:22 2023 +0100
     2.3 @@ -81,21 +81,21 @@
     2.4  #	patch -p1 < $SOURCES_REPOSITORY/asterisk-11.8.1-opus-codec2.patch       
     2.5  
     2.6  	mkdir -p $DESTDIR/usr/bin
     2.7 -	mkdir -p $DESTDIR/usr/include
     2.8  
     2.9  	./bootstrap.sh                                                          
    2.10  	# 20.2.1 unrecognised:
    2.11  	#	--without-pwlib
    2.12  	./configure						\
    2.13  		--prefix=/usr					\
    2.14 +		--includedir=/usr/include			\
    2.15  		--sysconfdir=/etc				\
    2.16  		--with-dahdi=$WOK/dahdi/$(ls $WOK/dahdi/taz)	\
    2.17  		--with-tonezone					\
    2.18  		$CONFIGURE_ARGS &&
    2.19 -	make -j 1 2>&1 | grep -v pjproject &&
    2.20 -	make -j 1 DESTDIR=$DESTDIR install &&
    2.21 -	make -j 1 DESTDIR=$DESTDIR samples &&
    2.22 -	cp -a	$src/include/asterisk	$DESTDIR/usr/include &&
    2.23 +	make			-j 1 2>&1 | grep -v pjproject &&
    2.24 +	make install		DESTDIR=$DESTDIR &&
    2.25 +	make install-headers	DESTDIR=$DESTDIR &&
    2.26 +	make samples		DESTDIR=$DESTDIR &&
    2.27  	cd contrib/utils &&
    2.28  	gcc rawplayer.c -o $DESTDIR/usr/bin/rawplayer
    2.29  }