Mercurial > vanilla
comparison x11/xdm/xdm.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | ddab65a5b3f5 |
children | 27d1a83dc8d6 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
52 with_selinux="--with-selinux" | 52 with_selinux="--with-selinux" |
53 else | 53 else |
54 with_selinux="--without-selinux" | 54 with_selinux="--without-selinux" |
55 fi | 55 fi |
56 | 56 |
57 build() | 57 rm -rf $PKGNAME-$PKGVERSION |
58 { | 58 tar xvf $PKGNAME-$PKGVERSION.tar.gz |
59 rm -rf $PKGNAME-$PKGVERSION | 59 cd $PKGNAME-$PKGVERSION |
60 tar xvf $PKGNAME-$PKGVERSION.tar.gz | |
61 cd $PKGNAME-$PKGVERSION | |
62 | 60 |
63 CC="$CC" \ | 61 CC="$CC" \ |
64 CFLAGS="$CFLAGS" \ | 62 CFLAGS="$CFLAGS" \ |
65 LDFLAGS="$LDFLAGS" \ | 63 LDFLAGS="$LDFLAGS" \ |
66 LIBS="$LIBS" \ | 64 LIBS="$LIBS" \ |
67 ./configure \ | 65 ./configure \ |
68 --build=$CBUILD \ | 66 --build=$CBUILD \ |
69 --host=$CHOST \ | 67 --host=$CHOST \ |
70 --prefix= \ | 68 --prefix= \ |
71 --without-systemd-daemon \ | 69 --without-systemd-daemon \ |
72 $with_pam \ | 70 $with_pam \ |
73 $with_selinux | 71 $with_selinux |
74 make | 72 make |
75 make install DESTDIR=$DESTDIR | 73 make install DESTDIR=$DESTDIR |
76 find $DESTDIR -type f -name "*.la" -delete | 74 find $DESTDIR -type f -name "*.la" -delete |
77 | 75 |
78 cd .. | 76 cd .. |
79 rm -rf $PKGNAME-$PKGVERSION | 77 rm -rf $PKGNAME-$PKGVERSION |
80 } |