add flex again for mesa
This commit is contained in:
parent
20b9ffbfd8
commit
dac0e1a5e5
1 changed files with 28 additions and 0 deletions
28
pkgs/flex/build.sh
Normal file
28
pkgs/flex/build.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
pkgname=flex
|
||||
pkgver=2.6.4
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/westes/flex/releases/download/v2.6.4/flex-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=$TRIPLE \
|
||||
--host=$TRIPLE
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Reference in a new issue