added markdown tools
This commit is contained in:
parent
5e2dcbb4e5
commit
91ed203f60
5 changed files with 121 additions and 0 deletions
24
pkgs/smu/build.sh
Normal file
24
pkgs/smu/build.sh
Normal file
|
@ -0,0 +1,24 @@
|
|||
pkgname=smu
|
||||
pkgver=master
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/Gottox/smu/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
cp ../config.mk .
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cp ../config.mk .
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
20
pkgs/smu/config.mk
Normal file
20
pkgs/smu/config.mk
Normal file
|
@ -0,0 +1,20 @@
|
|||
# smu version
|
||||
VERSION = 1.5
|
||||
|
||||
# paths
|
||||
PREFIX = /usr
|
||||
MANPREFIX = ${PREFIX}/share/man
|
||||
|
||||
# includes and libs
|
||||
INCS = -I. -I/usr/include
|
||||
LIBS = -L/usr/lib
|
||||
|
||||
# flags
|
||||
CFLAGS = -g -O0 -Wall -Werror -ansi ${INCS} -DVERSION=\"${VERSION}\"
|
||||
#CFLAGS = -fprofile-arcs -ftest-coverage -pg -g -O0 -Wall -Werror -ansi ${INCS} -DVERSION=\"${VERSION}\"
|
||||
#CFLAGS = -Os -Wall -Werror -ansi ${INCS} -DVERSION=\"${VERSION}\"
|
||||
#LDFLAGS = -fprofile-arcs -ftest-coverage -pg ${LIBS}
|
||||
LDFLAGS = ${LIBS}
|
||||
|
||||
# compiler
|
||||
CC = cc
|
Loading…
Add table
Add a link
Reference in a new issue