2013-12-21 22:08:42 +01:00
|
|
|
# Template file for 'smu-git'
|
|
|
|
pkgname=smu-git
|
2014-08-03 15:07:08 +02:00
|
|
|
version=20140803
|
2013-12-21 22:08:42 +01:00
|
|
|
revision=1
|
2013-12-30 18:36:09 +01:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2013-12-30 18:36:09 +01:00
|
|
|
make_build_args="INCS=-I. LIBS="
|
2013-12-21 22:08:42 +01:00
|
|
|
short_desc="Simple markup - markdown like syntax"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/Gottox/smu/"
|
2014-05-31 13:24:43 +02:00
|
|
|
provides="smu-${version}_${revision}"
|
|
|
|
replaces="smu>=0"
|
2013-12-21 22:08:42 +01:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/Gottox/smu"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2014-08-03 15:07:08 +02:00
|
|
|
pre_build() {
|
|
|
|
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
|
|
|
|
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
|
|
|
}
|
|
|
|
|
2013-12-30 18:36:09 +01:00
|
|
|
post_install() {
|
2013-12-21 22:08:42 +01:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/smu
|
|
|
|
}
|