comparison lib/libxkbcommon/libxkbcommon.sh @ 1216:6710613b88b9

misc: remove build function
author David Demelier <markand@malikania.fr>
date Wed, 29 Sep 2021 13:49:32 +0200
parents 297b5eef115e
children 57dc83a39b13
comparison
equal deleted inserted replaced
1215:3214f7fed454 1216:6710613b88b9
53 with_wayland="--enable-wayland" 53 with_wayland="--enable-wayland"
54 else 54 else
55 with_wayland="--disable-wayland" 55 with_wayland="--disable-wayland"
56 fi 56 fi
57 57
58 build() 58 rm -rf $PKGNAME-$PKGVERSION
59 { 59 tar xvf $PKGNAME-$PKGVERSION.tar.xz
60 rm -rf $PKGNAME-$PKGVERSION 60 cd $PKGNAME-$PKGVERSION
61 tar xvf $PKGNAME-$PKGVERSION.tar.xz
62 cd $PKGNAME-$PKGVERSION
63 61
64 CC="$CC" \ 62 CC="$CC" \
65 CFLAGS="$CFLAGS" \ 63 CFLAGS="$CFLAGS" \
66 LDFLAGS="$LDFLAGS" \ 64 LDFLAGS="$LDFLAGS" \
67 LIBS="$LIBS" \ 65 LIBS="$LIBS" \
68 ./configure \ 66 ./configure \
69 --build=$CBUILD \ 67 --build=$CBUILD \
70 --host=$CHOST \ 68 --host=$CHOST \
71 --prefix= \ 69 --prefix= \
72 --enable-shared \ 70 --enable-shared \
73 $with_doxygen \ 71 $with_doxygen \
74 $with_x \ 72 $with_x \
75 $with_wayland 73 $with_wayland
76 make 74 make
77 make install DESTDIR=$DESTDIR 75 make install DESTDIR=$DESTDIR
78 find $DESTDIR -type f -name "*.la" -delete 76 find $DESTDIR -type f -name "*.la" -delete
79 77
80 cd .. 78 cd ..
81 rm -rf $PKGNAME-$PKGVERSION 79 rm -rf $PKGNAME-$PKGVERSION
82 }