Mercurial > vanilla
comparison text/hunspell/hunspell.sh @ 1222:325631424c65
misc: bring back build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 27 Oct 2021 11:32:16 +0200 |
parents | a47aaf9743a0 |
children | 9867e578b1a9 |
comparison
equal
deleted
inserted
replaced
1221:a47aaf9743a0 | 1222:325631424c65 |
---|---|
55 with_readline="--with-readline" | 55 with_readline="--with-readline" |
56 else | 56 else |
57 with_readline="--without-readline" | 57 with_readline="--without-readline" |
58 fi | 58 fi |
59 | 59 |
60 rm -rf $PKGNAME-$PKGVERSION | 60 build() |
61 tar xvf $PKGNAME-$PKGVERSION.tar.gz | 61 { |
62 cd $PKGNAME-$PKGVERSION | 62 rm -rf $PKGNAME-$PKGVERSION |
63 tar xvf $PKGNAME-$PKGVERSION.tar.gz | |
64 cd $PKGNAME-$PKGVERSION | |
63 | 65 |
64 CC="$CC" \ | 66 CC="$CC" \ |
65 CFLAGS="$CFLAGS" \ | 67 CFLAGS="$CFLAGS" \ |
66 CXX="$CXX" \ | 68 CXX="$CXX" \ |
67 CXXFLAGS="$CXXFLAGS" \ | 69 CXXFLAGS="$CXXFLAGS" \ |
68 LDFLAGS="$LDFLAGS" \ | 70 LDFLAGS="$LDFLAGS" \ |
69 LIBS="$LIBS" \ | 71 LIBS="$LIBS" \ |
70 ./configure \ | 72 ./configure \ |
71 --build=$CBUILD \ | 73 --build=$CBUILD \ |
72 --host=$CHOST \ | 74 --host=$CHOST \ |
73 --prefix=/usr \ | 75 --prefix= \ |
74 $with_ncurses \ | 76 $with_ncurses \ |
75 $with_nls \ | 77 $with_nls \ |
76 $with_readline | 78 $with_readline |
77 make | 79 make |
78 make install DESTDIR=$DESTDIR | 80 make install DESTDIR=$DESTDIR |
79 find $DESTDIR -type f -name "*.la" -delete | 81 find $DESTDIR -type f -name "*.la" -delete |
80 | 82 |
81 cd .. | 83 cd .. |
82 rm -rf $PKGNAME-$PKGVERSION | 84 rm -rf $PKGNAME-$PKGVERSION |
85 } |