new build design

This commit is contained in:
Mario Fetka 2011-12-21 21:52:54 +01:00
parent f37c5ef55a
commit 309fa5d5a8
2 changed files with 7 additions and 15 deletions

View File

@ -3,7 +3,7 @@ AUX micro-evtd-default.initd 532 RMD160 3ce534692fcf0994207fbd7fa008abc7c6c8bc00
AUX strEventScript-size.patch 994 RMD160 e5900eb40180cae06a5c9272841f72a3d8a5b271 SHA1 27ea6106c51d1753081e9af979f3f615b5bb3a14 SHA256 72fc662b70265a0a9ce4f5f5ea16f43f3157b5aea2bca42e25f42859cd099180
DIST micro-evtd_3.4-1.debian.tar.gz 8639 RMD160 ca94ed8ce88bde51fe2e20490e09c69b8d70cd20 SHA1 15093c8785bff7cdc4b75a1d874c8f232d3d2a24 SHA256 e94b26d1e5181a3376f2ecd9a5fe5d65c2914624b0d93814852199d1cdcc8d9f
DIST micro-evtd_3.4.orig.tar.gz 46049 RMD160 6bbdc322b29409e7e73f61924bf12aaf827e905f SHA1 ab9b3366b69a7f031abd5430e2f99fb087c1c2a5 SHA256 3f4009267706346a31d5bdba788f2c294d1aed5c4ab1b8108f234e168e09c2e4
EBUILD micro-evtd-3.4.1-r1.ebuild 2138 RMD160 07084c0ec4131fb301aaaa2c5c45c9b1a12f7b1b SHA1 e8d0db1bc3dc6c370fcb0c25206edc2354744cc4 SHA256 d87d96061f1d64b6e325a0debf7022ecbc7247ac5d1d88218980d6419fb3e45d
EBUILD micro-evtd-3.4.1-r1.ebuild 1857 RMD160 732a87dedf52c1ffe8794597795accd8e59c0bf4 SHA1 5fd085b5743e1b58e2ffa2207f8ad0c435cf7cbd SHA256 c76ea278aee2da2caa500a2d08372527e590a84e16dcc09137419c385461e066
EBUILD micro-evtd-3.4.1.ebuild 1601 RMD160 cfd3610db778466a8ed04f2d1a2896ac65ea69f7 SHA1 8d7bae2661d836195f427e7530ca39ffcf4b967e SHA256 8f2cf889d1ef8482a6b65ae4e195bd57720ef9a4aff323c16f470dd88dbcc046
MISC ChangeLog 939 RMD160 0eddfc11fefeb91699266aca987824953a2e8239 SHA1 fe133e720aba8159270c6856501bb5878db59cad SHA256 86aee19fa7876ca1108761f2c9c440e656462e8e050b1f81cfb216126d6f33dd
MISC metadata.xml 703 RMD160 4702488eeb282d4d9694aa25b332ce85dc0fb571 SHA1 53e19c1fe760f0006c1b3d1da549ca0ab859ae6a SHA256 5d17ebbc2e2c0b96fb7ce1ed127ab4e50113ff6d6d79d180fe925efbc0067cad

View File

@ -35,26 +35,18 @@ src_prepare() {
EPATCH_FORCE="yes" EPATCH_EXCLUDE="makefile.patch" epatch
#epatch "${FILESDIR}/strEventScript-size.patch"
ln -sf micro-evtd.mak Makefile
pushd src
ln -sf micro-evtd.c micro-evtd.pro.c
ln -sf micro-evtd.c micro-evtd.tera.c
popd
pushd files
ln -sf micro-evtd.event micro-evtd.pro.event
ln -sf micro-evtd.event micro-evtd.tera.event
ln -sf micro-evtd.init micro-evtd.pro.init
ln -sf micro-evtd.init micro-evtd.tera.init
popd
}
src_compile() {
emake SBIN_PREFIX=/usr CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" LDFLAGS="${LDFLAGS}" PROGNAME="micro-evtd.pro" all || die "emake failed"
emake SBIN_PREFIX=/usr CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" LDFLAGS="${LDFLAGS}" PROGNAME="micro-evtd.tera" ts || die "emake failed"
emake SBIN_PREFIX=/usr CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" LDFLAGS="${LDFLAGS}" all || die "emake failed"
emake SBIN_PREFIX=/usr CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" LDFLAGS="${LDFLAGS}" ts || die "emake failed"
}
src_install() {
emake SBIN_PREFIX=/usr DESTDIR="${D}" PROGNAME="micro-evtd.pro" install || die "install failed"
emake SBIN_PREFIX=/usr DESTDIR="${D}" PROGNAME="micro-evtd.tera" install || die "install failed"
emake SBIN_PREFIX=/usr DESTDIR="${D}" install || die "install failed"
mv ${D}/usr/sbin/micro-evtd ${D}/usr/sbin/micro-evtd.pro
emake SBIN_PREFIX=/usr DESTDIR="${D}" install.ts || die "install failed"
mv ${D}/usr/sbin/micro-evtd ${D}/usr/sbin/micro-evtd.tera
# doman debian/microapl.8
# doman debian/micro_evtd.8