sic: replace the git pkg by a release (and remove quark)
This commit is contained in:
parent
727679f74b
commit
6618b93ff6
|
@ -1,29 +0,0 @@
|
|||
# Template file for 'quark-git'
|
||||
pkgname=quark-git
|
||||
version=20141213
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="git"
|
||||
short_desc="Simple httpd get daemon"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="MIT"
|
||||
homepage="http://git.suckless.org/quark/"
|
||||
provides="quark-${version}_${revision}"
|
||||
replaces="quark>=0"
|
||||
|
||||
do_fetch() {
|
||||
local url="git://git.suckless.org/quark"
|
||||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
|
||||
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
|
||||
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall LICENSE 644 usr/share/licenses/quark
|
||||
vinstall README 644 usr/share/doc/quark
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
# Template file for 'sic-git'
|
||||
pkgname=sic-git
|
||||
version=20141213
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="git"
|
||||
make_build_args="INCS=-I. LIBS="
|
||||
short_desc="Simple irc client"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="MIT"
|
||||
homepage="http://tools.suckless.org/sic"
|
||||
provides="sic-${version}_${revision}"
|
||||
replaces="sic>=0"
|
||||
|
||||
do_fetch() {
|
||||
local url="git://git.suckless.org/sic"
|
||||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
|
||||
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
|
||||
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall LICENSE 644 usr/share/licenses/sic
|
||||
vinstall README 644 usr/share/doc/sic
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'sic'
|
||||
pkgname=sic
|
||||
version=1.2
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_build_args="INCS=-I. LIBS="
|
||||
short_desc="Simple irc client"
|
||||
maintainer="Ypnose <ypnoseATvoidlinuxDOTeu>"
|
||||
license="MIT"
|
||||
homepage="http://tools.suckless.org/${pkgname}"
|
||||
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
|
||||
checksum="ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185"
|
||||
replaces="sic>=0"
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|^CPPFLAGS *=|override CPPFLAGS +=|g' config.mk
|
||||
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
|
||||
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vdoc README
|
||||
}
|
Loading…
Reference in New Issue