Initial Tup files
This commit is contained in:
commit
67bdd705d5
|
@ -0,0 +1,24 @@
|
|||
.gitignore
|
||||
|
||||
export PKG_CONFIG_PATH
|
||||
|
||||
ifndef DEPOT_USER
|
||||
error CONFIG_DEPOT_USER is undefined
|
||||
endif
|
||||
|
||||
ifndef DEPOT_VERSION
|
||||
error CONFIG_DEPOT_VERSION is undefined
|
||||
endif
|
||||
|
||||
DEPOT_DIR = $(TUP_CWD)/depot/@(DEPOT_USER)
|
||||
PUBLIC_DIR = $(TUP_CWD)/public/@(DEPOT_USER)
|
||||
|
||||
ifdef DEPOT_KEY
|
||||
|
||||
!depot_bin_tarball = |> ^ archive %d binary^ tar cfJ %o -C $(DEPOT_DIR)/bin/x86_64/%d . |> $(PUBLIC_DIR)/bin/x86_64/%d/@(DEPOT_VERSION).tar.xz
|
||||
|
||||
!depot_pkg_tarball = |> ^ archive %d package^ tar cfJ %o -C $(DEPOT_DIR)/pkg/%d . |> $(PUBLIC_DIR)/pkg/%d/@(DEPOT_VERSION).tar.xz
|
||||
|
||||
!public_signature = |> ^ sign %b^ gpg --detach-sign --digest-algo SHA256 --no-tty --local-user @(DEPOT_KEY) - < %f > %o |> %f.sig
|
||||
|
||||
endif
|
|
@ -0,0 +1,12 @@
|
|||
include_rules
|
||||
|
||||
ifndef SCULPT_VERSION
|
||||
error CONFIG_SCULPT_VERSION is undefined
|
||||
endif
|
||||
|
||||
: index.xml |> tup varsed %f - | xmllint - > %o |> $(DEPOT_DIR)/index/@(SCULPT_VERSION) {index}
|
||||
|
||||
ifdef DEPOT_KEY
|
||||
: {index} |> xz -c %f > %o |> $(PUBLIC_DIR)/index/%b.xz {dist}
|
||||
: {dist} |> !public_signature |>
|
||||
endif
|
|
@ -0,0 +1 @@
|
|||
<index/>
|
|
@ -0,0 +1,8 @@
|
|||
CONFIG_SCULPT_VERSION=19.02
|
||||
CONFIG_SDK_USER=ehmry
|
||||
CONFIG_SDK_VERSION=19.02
|
||||
CONFIG_UPSTREAM_USER=local
|
||||
CONFIG_UPSTREAM_VERSION=current
|
||||
CONFIG_DEPOT_USER=local
|
||||
CONFIG_DEPOT_VERSION=current
|
||||
#CONFIG_DEPOT_KEY=6E10414EE7160781F5FEE8FFB14D043A26B3D2C7
|
Loading…
Reference in New Issue